Proto commits in pactus-project/pactus

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:397efec
Author:Mantre
Committer:GitHub

refactor(grpc): update buf.build (#1716)

The documentation is generated from this commit.

Commit:6479897
Author:Mantre
Committer:GitHub

chore(grpc): add change proposer vote types for gRPC proto types (#1700)

Commit:4dfee03
Author:Ali Hamrani
Committer:GitHub

feat(grpc): add decode raw transaction method (#1671) Co-authored-by: Javad Rajabzadeh <ja7ad@live.com>

Commit:2edab04
Author:Javad Rajabzadeh
Committer:GitHub

feat(zeromq): add ZMQ Publishers to NodeInfo API (#1674)

Commit:6cdf20c
Author:k.
Committer:GitHub

fix(grpc): define address for the aggregated public key (#1608)

Commit:e89feff
Author:Ali Hamrani
Committer:GitHub

feat(grpc): add bls public key and signature aggregate methods (#1587) Co-authored-by: Javad Rajabzadeh <ja7ad@live.com>

Commit:80ea4db
Author:Ali Hamrani
Committer:GitHub

refactor(grpc): revert GetRawTransfer method and undo deprecation (#1560)

Commit:8f6c455
Author:b00f
Committer:GitHub

feat(sync): add metric to track the network activity (#1552) Co-authored-by: Javad Rajabzadeh <ja7ad@live.com>

Commit:9a40408
Author:Javad Rajabzadeh
Committer:GitHub

feat(wallet): add wallet service API (#1548)

Commit:2bcb8d6
Author:b00f
Committer:GitHub

fix(grpc): encode data and signature propoerly (#1538)

Commit:90fdcc9
Author:Javad Rajabzadeh
Committer:GitHub

fix(grpc): merge raw transaction methods to one rpc method (#1500)

Commit:5752032
Author:Maxi
Committer:GitHub

feat(grpc): add Ed25519 to AddressType proto (#1492)

Commit:4e7052d
Author:Maxi
Committer:GitHub

feat(grpc): add `Proposal` to `ConsensusInfo` API (#1469)

Commit:57b9bec
Author:b00f
Committer:GitHub

fix(grpc): change enum type to numeric for documentation (#1474)

Commit:3a9a3be
Author:Javad Rajabzadeh
Committer:GitHub

fix(grpc): add last-block-time to blockchain-info API (#1428)

Commit:757f6ce
Author:Javad Rajabzadeh
Committer:GitHub

fix(grpc): show negative pruning height when is pruned false (#1429)

Commit:10acc39
Author:Kay
Committer:GitHub

feat(grpc): adding is-pruned and pruning-height to blockchain info API (#1420)

Commit:89ba289
Author:b00f
Committer:GitHub

feat(sync): define full and prune service (#1412)

Commit:50b5eb5
Author:Zig Blathazar
Committer:GitHub

feat(pip): implement PIP-23 (#1397)

Commit:5eb3c50
Author:b00f
Committer:GitHub

chore(grpc): update proto documents (#1375)

Commit:30a1233
Author:Javad Rajabzadeh
Committer:GitHub

fix(grpc): change bytes type to hex string (#1371) Co-authored-by: b00f <mostafa.sedaghat@gmail.com>

Commit:13a2571
Author:Kay
Committer:GitHub

feat: get txpool API (#1364)

Commit:203a8a0
Author:b00f
Committer:GitHub

chore(grpc): update gRPC document (#1353)

Commit:868a948
Author:Ansh Kumar Garhewal
Committer:GitHub

refactor: removed deprecated LockWallet and UnLockWallet from WalletService (#1343)

Commit:4c6e47c
Author:Shawn Hsu
Committer:GitHub

refactor(network): define connection info in network proto (#1297)

Commit:cfc28ae
Author:Shawn Hsu
Committer:GitHub

feat(ntp): add ntp util (#1274)

Commit:d29a550
Author:b00f
Committer:GitHub

fix(gRPC): prevent concurrent map iteration and map write (#1279) Co-authored-by: Mantre <mantre@protonmail.com>

Commit:34f0b99
Author:Shawn Hsu
Committer:GitHub

feat(gRPC): add connection info to node info (#1273)

Commit:a8aaccc
Author:Kay
Committer:GitHub

feat(gRPC): add only_connected parameter to getNetworkInfo API (#1264)

Commit:a96b7ac
Author:Shawn Hsu
Committer:GitHub

feat(grpc): refactor CreateWallet and add RestoreWallet API endpoint (#1256)

Commit:3491893
Author:b00f
Committer:GitHub

fix(gRPC): not return block data on information verbosity (#1212)

Commit:b1b099e
Author:Kay
Committer:GitHub

feat(gRPC): add get address history method (#1206)

Commit:a860105
Author:Shawn Hsu
Committer:GitHub

feat: Add GetNewAddress gRPC API (#1193)

Commit:998a1ca
Author:b00f
Committer:GitHub

feat(gRPC): add new API to get the total balance of wallet (#1190)

Commit:885d046
Author:b00f
Committer:GitHub

refactor: introduce Amount data type for converting PAC units (#1174)

Commit:002e676
Author:Amir Babazadeh
Committer:GitHub

refactor: using PAC instead of atomic units for external input/outputs (#1161)

Commit:9049383
Author:b00f
Committer:GitHub

chore: reverting fee index in proto (#1166)

Commit:3a4184b
Author:b00f
Committer:GitHub

feat(grpc): calculate fee for create-raw-transaction APIs (#1159)

Commit:6b6dd4e
Author:b00f
Committer:GitHub

feat(grpc): add fixed-amount to calc-fee API (#1146)

Commit:c709b04
Author:b00f
Committer:GitHub

feat(grpc): update swagger API to version 1.1 (#1106) Co-authored-by: Kay <kehiiiiya@gmail.com> Co-authored-by: Amir Babazadeh <amirvalhalla@proton.me>

Commit:ffd84e6
Author:Amir Babazadeh
Committer:GitHub

feat: pactus-ctl (#946)

Commit:1e831ae
Author:Amir Babazadeh
Committer:GitHub

feat: implement get validator address for grpc (#975)

Commit:c5fe20f
Author:Kay
Committer:GitHub

feat: adding Consensus-address to network info (#952)

Commit:21e3223
Author:b00f
Committer:GitHub

feat(grpc): sign transaction using wallet client (#945) Co-authored-by: Kay <kehiiiiya@gmail.com>

Commit:3f36b3e
Author:Kay
Committer:GitHub

chore(gRPC): defining transaction APIs properly (#935) Co-authored-by: Amir Babazadeh <amirvalhalla@proton.me>

Commit:1b5f3c1
Author:IZIK
Committer:GitHub

feat(gRPC): adding AvailabilityScore to gRPC (#910)

Commit:f9be68a
Author:Kay
Committer:GitHub

feat(gRPC): defining network and peers info response's properly (#898)

Commit:3a9ad02
Author:Kay
Committer:GitHub

feat(www): adding change proposer round and value to consensus info votes (#892)

Commit:52eafc6
Author:Kay
Committer:GitHub

feat(grpc): endpoints for creating raw transaction (#838)

Commit:f07c77f
Author:b00f
Committer:GitHub

feat: network reachability API (#834) Co-authored-by: Kay <kehiiiiya@gmail.com>

Commit:e21352d
Author:b00f
Committer:GitHub

feat: subscribing to libp2p eventbus (#831)

Commit:02bff51
Author:Mantre
Committer:GitHub

feat(sync): adding remote address to the peer info (#804)

Commit:a8d5a56
Author:Amir Babazadeh
Committer:GitHub

feat: implementing pip-8 (#711) Co-authored-by: b00f <mostafa.sedaghat@gmail.com>

Commit:7c14d41
Author:Amir Babazadeh
Committer:GitHub

feat: implementing pip-9 (#706)

Commit:113d0fc
Author:Kay
Committer:GitHub

feat: new API to get Public key by address (#704) Co-authored-by: b00f <mostafa.sedaghat@gmail.com>

Commit:cf9b48a
Author:Kay
Committer:GitHub

feat: Adding address field for AccountInfo (#703)

Commit:1627d50
Author:Amir Babazadeh
Committer:GitHub

feat!: implementing PIP-2 and PIP-3 (#699)

Commit:6c53a36
Author:b00f
Committer:GitHub

refactor(sync): refactoring syncing process (#676)

Commit:c7e18f8
Author:Zig Blathazar
Committer:GitHub

feat: adding Sent and Received bytes per message metrics for peers (#618) * feat: peer send and Received Bytes metrics * chore: fixing linting issues

Commit:75b718e
Author:Zig Blathazar
Committer:GitHub

feat: Add CalcualteFee in GRPC (#601) * change bug to protoc for protoBuffer generating and test it * Revert "chore: Blockchain typo (#598)" * update buf to v1.25.0 * fix: update buf protoBuffer * fix: proto generate * define GetTransactionFee * feat: Add CalcualteFee in GRPC --------- Co-authored-by: b00f <mostafa.sedaghat@gmail.com>

Commit:d30f0a2
Author:Mantre
Committer:GitHub

fix!: updating sortition executor (#608) * fix!: updating sortition executor * chore: fixing linting issues * fix: fixing review comments

Commit:6c36120
Author:Amir Babazadeh
Committer:GitHub

feat: add sent bytes and received bytes metrics to peerset plus update grpc (#606)

Commit:236b5ca
Author:b00f
Committer:GitHub

fix: adding block hash to peer (#584) * fix: adding block hash to peer * fix: set block hash on hello message

Commit:a967da4
Author:Shawn Hsu
Committer:GitHub

fix: remove GetValidators rpc method (#573) * fix: Remove GetValidators rpc definition * fix: Remove GetValidators test code * fix: Remove GetValidators in generated file

Commit:2dd2f3b
Author:Amir Valhalla
Committer:GitHub

feat: add LastSent and LastReceived properties to peer (#569) * refactor: rename LastSeen prop and related methods to LastReceived * feat: add LastSent prop to peer , UpdateLastSent and related operations to LastSent * test: add test for UpdateLastSent to peerset_test

Commit:5beaf33
Author:b00f
Committer:GitHub

fix: measuring total sent and received bytes (#552) * fix: measuring total sent and received bytes * fix: updating gRPC and HTTP modules * test: adding test for NodeHandler

Commit:c897041
Author:Javad Rajabzadeh
Committer:GitHub

refactor: GetValidators return all validators in state validators map (#512) * refactor: GetValidators return all validators in state validators map Fixed #502 * add: method GetValidatorAddresses to get list of validators address * fix: conflicts in validator * add: covered test for GetValidatorAddresses rpc method * fix: expected assertion result * fix: short variable name and get address from key map * fix: random number was zero and therefore the iterator didn't iterate * fix: lint error for formatting * fix: remove +1 for RandInt32 TestIterateAccounts * test: test has been simplified

Commit:f550c79
Author:Javad Rajabzadeh
Committer:GitHub

feat: add GetAccountByNumber API to get account by number (#511) * feat: add GetAccountByNumber API to get account by number Fixed #505 * fix: testing stage title and request number value * fix: mocking test base on validator by number * fix: remove grpc reflection * fix: replace RLock and RUnlock instead Lock and Unlock * fix: replace rand.Int31 with RandInt32 for rand number * fix: add unimplemented GetAccountByNumber for grpc server register * fix: lint error unnecessary leading newline (whitespace) * fix: lint error lll * fix: lint error File is not goimports -ed

Commit:b087fe1
Author:b00f
Committer:GitHub

fix: boosting syncing process (#482) * fix: boosting syncing process * chore: decreasing SessionTimeout to 10 seconds * test: updating tests * test: adding more tests for peerset * chore: fixing linting issues * test: fixing a broken test * test: fixing review comments

Commit:d628f68
Author:yk
Committer:GitHub

refactor: rename send to transfer. (#469) * refactor: rename send to transfer. * refractor: rename send to transfer in wallet cmd. * refractor: use capital Transfer and capital Withdraw in wallet cmd. * refractor: rename send to transfer. * refractor: use capital for Bond and Unbond in wallet cmd. * refractor: rename NewSendTx to NewTransferTx.

Commit:4ea8fcd
Author:ragnarok87
Committer:GitHub

feat: removing address from account (#454)

Commit:b82e18f
Author:b00f
Committer:GitHub

feat: supporting multiple consensus instances (#450) * feat: supporting multiple consensus instances * fix: deriving keys for validators * fix: move consensus instances on new block announcement * fix: adding number of validator page to GUI

Commit:a8c6be9
Author:yk
Committer:GitHub

added GetTotalAccounts & GetTotalValidators into GetBlockchainInfo. (#439) * added GetTotalAccounts & GetTotalValidators into GetBlockchainInfo. * fix linting.

Commit:0bb6715
Author:b00f
Committer:GitHub

grpc: Fixing unknown transction type (#431) * fixing #430 and #428

Commit:7ddeba6
Author:braewoods
Committer:GitHub

Convert HTTP module to use GRPC module instead of CAPNP module (#427)

Commit:6c575f1
Author:braewoods
Committer:GitHub

Extend GRPC to include missing CAPNP functionality (#424)

Commit:e44d3df
Author:ragnarok87
Committer:GitHub

Adding lock/unlock and load/unload wallet grpc (#422) * wallet: adding load, lock, unload and unlock methods * grpc: implementing load/unload wallet APIs

Commit:19b8173
Author:ragnarok87
Committer:GitHub

grpc: adding get-peer-info API (#419) * grpc: adding get-peer-info API * Adding test for GetPeerInfo method

Commit:5931dfa
Author:ragnarok87
Committer:GitHub

Updating proto file (#417) * Updating proto files * formatting proto files * Updating third_party and exporting to other languages * Adding grpc for python and java * removing googleapi dependency

Commit:58c9045
Author:ragnarok87
Committer:GitHub

storing block by hight instead of hash (#416) * Storing block by height instead of hash * Adding more tests

Commit:7a11ea4
Author:ragnarok87
Committer:GitHub

Unconfirmed transaction history (#415) * Refactoring history JSON object * Adding pending transactions to the history

Commit:6fbfad4
Author:b00f
Committer:GitHub

wallet: history (#414) * wallet: history * Fixing linting issues * Fixing linting and test issues * updating a comment Co-authored-by: ragnarok87 <nagarajmanjunath22@gmail.com>

Commit:bcf4c02
Author:b00f
Committer:GitHub

Adding CreateWallet API (#379) * Adding GenerateMnemonic API * Adding create wallet API

Commit:6b55c27
Author:ragnarok87
Committer:mantre

renaming zarb to pactus (#384)

Commit:2a1844a
Author:b00f
Committer:GitHub

Refactoring grpc (#376) * Refactoring GRPC * Updating swagger files

Commit:27aad83
Author:ragnarok87
Committer:GitHub

changes made in grpc public key to string (#340)

Commit:84a6d59
Author:ragnarok87
Committer:GitHub

Supporting lock time transactions (#339)

Commit:3834238
Author:Mantre
Committer:GitHub

Committee info (CapnP) (#318) * Adding committee information to blockchain info for CapnP * Updating bond payload for gRPC * adding committee power to committee info * ProposerAddress linked to validator * Digesting Unbond and Withdraw payload * Fixing linting issues

Commit:e66e54d
Author:Mostafa Sedaghat Joo
Committer:GitHub

Removing CBOR from privatekey (#295) * Removing CBOR marshaling from private key * Encoding Private Key using bech32 * Updating sortition tests * Uppercase for Private Keys to be distinguishable from address (both in bech32) * Keep Mintbase address as member of state * Using bech32m instead of bech32 * Updating to go v18

Commit:87c8395
Author:Mostafa Sedaghat Joo
Committer:GitHub

Removing JSON marshaling (#292) * Removing all JSON marshaling methods * Removing all JSON marshaling methods from tests * HTML Table maker * Updating peer info * check if public key is not nil for a peer

Commit:07a933c
Author:Mostafa Sedaghat Joo
Committer:GitHub

pre-release v1 (#275) * Encoding crypto, transaction, account, validator and block * Checking error code for execution tests * Adding TestRandomUint64 for VRF * Updating KeyGen * Set DST for Basic mode

Commit:874614b
Author:Mostafa Sedaghat Joo
Committer:GitHub

Full block with txs (#262) * Full block including all transactions * Removing transactions from sync cache * Fixing compile errors * Fixing capnp and http tests * fixing gRPC tests * Renaming state_hash to state_root * Ignoring Windows OS to test store path

Commit:16eca28
Author:Mostafa Sedaghat Joo
Committer:GitHub

Memorizing stamps by store (#261) * Memorizing stamp by store * Removing BlockInfo from Sandbox * Allow current validator to stay in committee * Rewriting execution tests * Replacing Lock with RLock for sandbox and fixing Recursive locking * Maximum for random amount is half of account balance * Fixing some typos

Commit:f5c78e6
Author:Mostafa Sedaghat Joo
Committer:GitHub

Removing lock from peer struct (#259) * Removing lock from peer struct * Fixing a broken test * fixing a typo in filename * Rename UpdatePeer method to UpdatePeerInfo * Update last seen

Commit:8ac7fff
Author:ragnarok87
Committer:GitHub

Update the block header and previous certificate in grpc blockinfo (#250) * update the block header and previous certificate in grpc blockinfo * removed old protobuf version

Commit:f186aa0
Author:Mostafa Sedaghat Joo
Committer:GitHub

Signing hello msgs (#248) * Adding signature to the greeting messages * Set broadcast flag for broadcasting messages * Make sure the message initiator ID set inside callback * Passing message sender and initiator to the firewall * Signing greeting messages * Using channel instead of callback for network events * Merging Salam and Aleyk payload * Refactoring and simplifying sync tests * Fixing lintting issue * Reviewing the changes * Prevent a rare deadlock in consensus

Commit:870a94b
Author:Mostafa Sedaghat Joo
Committer:GitHub

Define interface for crypto (#229) * Adding trait for crypto stuff * Fixing test hash function * Updating BLS signature lib * Fixing compile errors * Fixing test and linting issues * Renaming last_block_hash to prev_block_hash * Updating capnp and proto * Removing crypto.go

Commit:cb10fd9
Author:Ali Mahdavi
Committer:GitHub

www: gRPC refactor (#223) * Strengthening a test for consensus in slow environments (#201) * refactor proto file * get block refactored get account refactored * transaction refactored * grpc client refactored * go fmt * fix typo * resolve naming issues * make payload oneOf - update tests - add distinct transaction payloads * fix test case * rebuild protofiles * fix getAccount error Co-authored-by: Mostafa Sedaghat Joo <mostafa.sedaghat@gmail.com> Co-authored-by: ali mahdavi <a5mahdavy5@gmail.com>

Commit:cb47d26
Author:Ali Mahdavi
Committer:GitHub

Unbond and withdrawal Transactions (#123) * Unbond Transaction Draft * Added unbonding executor * Added unbonding payload * Replaced Stack() with Power() * fixed capnp compilation * fix genesis state stake * fix tests * added basic tests * merge with main replace back `power` with `stack` in state/state.go:118 * prevent rebound * added unbound tx to cmd tx * bonding tested added grpc support added cmd support * merge trx.checkfee with exe.checkfee * rename PayloadType to Type * make grpc errors more verbose * run fmt * withdraw exec and payload implmented * withdraw execution optimized refactor withdraw fix some typos * add withdraw to cli tested withdraw ran fmt * added sign and send to unbond and withdraw * cover unbond 100% some fmt some more tests * fmt fix * fix some typos * some refactoring Co-authored-by: ali mahdavi <a5mahdavy5@gmail.com>

Commit:746072b
Author:Ali Mahdavi
Committer:mantre

cmd: tx send command sends transaction to network (#204) * send tx cmd updated - Seprate sendtx and payload sendtx in cmd - add stamp to blockchian info stamp and update proto - confirm to publish tx * bondtx updated - gRPC transaction function error made verbose - Seprate payload and tx in cli - Add gRPC Client in cmd - Confirm to publish bondtx * run fmt * Refactor changes * remove redundent files * remove payload commands form CLI * promptRPCEndpoint added to tx common * fix library dependency issue * fix issues on user input * update validators fingerprint * Add reame For transaction Add seq num to validators fingerprint * Fix a typo Co-authored-by: ali mahdavi <a5mahdavy5@gmail.com> Co-authored-by: Mostafa Sedaghat Joo <mostafa.sedaghat@gmail.com>