-
Notifications
You must be signed in to change notification settings - Fork 3
Tech: Changes - Account Type to Account Address Only #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
andy-shi88
added a commit
that referenced
this issue
Aug 9, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 9, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 9, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 9, 2019
andy-shi88
added a commit
to zoobc/zoobc-schema
that referenced
this issue
Aug 9, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 9, 2019
andy-shi88
added a commit
to zoobc/zoobc-schema
that referenced
this issue
Aug 9, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 12, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 12, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 12, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 12, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 12, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 12, 2019
andy-shi88
added a commit
that referenced
this issue
Aug 12, 2019
andy-shi88
added a commit
to zoobc/zoobc-schema
that referenced
this issue
Aug 12, 2019
andy-shi88
added a commit
to zoobc/zoobc-schema
that referenced
this issue
Aug 12, 2019
andy-shi88
added a commit
to zoobc/zoobc-schema
that referenced
this issue
Aug 12, 2019
* #134 remove account type * zoobc/zoobc-core#134 blocksmith address length remove * zoobc/zoobc-core#134 blocksmith address length revert
andy-shi88
added a commit
that referenced
this issue
Aug 12, 2019
* #134 omit account type * #134 update block id due to account type removal * #134 fix sendmoney cmd tools * fixed undefined BlockSmithID * fixed GetTransactionsRequest * #134 remove address length in db * refacored some codes for the new strategy * #134 fix util test * #134 blocksmith address length remove * #134 blocksmith address length revert * fixed test cases * #134 update query tests * #134 remove account type * #134 remove account type and add account address length * #134 adjust query for account type deletion * #134 adjust transaction type implementation for account type deletion * #134 blocksmith ID to blocksmith address in native/service package * #134 update schema commit * #134 remove account ID constant size * #134 fix mempool table * #134 fix mempool tests * #134 remove account id usage * #134 length of string error, should be length of []byte(string)
capt4ce
added a commit
to zoobc/zoobc-schema
that referenced
this issue
May 11, 2020
* add block model & service * change field : BlocksmithAddress to BlocksmithID * proposed structure for mempool, account, and transaction * refactored Ids to more meaningful names * Mempool tx account (#2) * proposed structure for mempool, account, and transaction * refactored Ids to more meaningful names * Adjustment with zoobc-core, update field & package (#3) * add swagger mixin in compiler * update go_package option * add transaction field in Block message * zoobc/zoobc-core#5 update block schema * refactored IDs for account tx and mempool added accountBalance proto added single/multi model request/response for account, transaction, mempool, accountBalance * resolved merge conflicts with develop branch * Adding chaintype parameter to the block requests * Adding chaintype parameter to the block requests * refactored model and service path according to new standard * fixed type-o * update the datatype of the attributes (#7) * update block schema * #16 add node structure * fix method name * Fixed transaction.proto by adding timestamp field Refactored mempool.proto removing tx details (all tx goes into txbytes) and adding FeePerBytes and ArrivalTimestamp * #33 bug: fix node registration package path * fixed wrong numeration in mempool.proto message * zoobc/zoobc-core#5 update block schema (#11) Add accountBalance proto * 6 transaction schema (#12) * #6 update transaction proto * #45 update accounBalance ID to account ID * fixed bug in mempool.proto: changed timestamp from string to int64 (#13) * update mempool timestamp (string -> int64) * transaction recipient and sender format change (#14) * transaction recipient and sender format change * update account type data type (#15) Account type []byte -> uint32 * Changing the block Api parameter (#17) change block api * altering the schema of transaction (#18) * new transaction schema * Fix schema to reorder import google api since explore team reporting the bug * #14 mempool implementation (#19) * changed transaction ID to int64 * zoobc/zoobc-core#55 add latest field (#21) * #82 - added tx body for node registration (#24) * #82 - refactored nodeRegistration proto by adding tx body message fixed a bug in accountBalance request message (it was requiring accountID instead of acc type/address) * added queued to noderegistration message * fixed wrong data type for queued field * #83 added moved NodeRegistrationTransactionBody from noderegistration.proto to transaction.proto to be able to use tx.GetNodeRegistrationTransactionBody() in transaction.transactio.go when parsing NodeRegistration transaction type (#25) add noderegistration to transaction body * initialize P2P model & service (#23) * create host, node & peer model * update GetPeerInfoRequest model * add PeerStateEnum * Add new get more peers model * p2p: remove unsed service in P2PCommunication * Enhancement: remove unsed field in model * zoobc/zoobc-core#40 post transaction schema update * #40 add post transaction response * 12 enhance p2p (#26) * create host, node & peer model * update GetPeerInfoRequest model * add PeerStateEnum * Add new get more peers model * add message structure to support peer discovery * adding a message proto for getting info of a host * removing state in peers. changing the implementation to list * changes host and peer model * added google annotations and http proto (#29) * zoobc/zoobc-core#83 fix field type * #83 spacing issue * 69-70 block broadcast & transaction broadcast (#28) * add sendblock Service * add SendTransaction in P2PCommunication service * p2pCommunication: update sendTransaction req * refactored ProofOfOwnership: splitted into message (to be used internally by the nodes) and messagebytes+signature (to be exchanged with the client) * zoobc/zoobc-core#112 update proto * 84 update node registration (#34) * added id to NodeRegistration message. added updatenoderegistration request and rpc endpoint (service) * added UpdateNodeRegistrationTransactionBody to transaction.proto * refactored noderegistration (changed ID field name to NodeID) fixed bug in transaction.proto * zoobc/zoobc-core#115 add account id to mempool (#36) * 113/get transactions by account address (#33) * add accountType and accountAddress as rqeuest fields * remove accountType from GetTransactionsRequest * 134 remove account type (#37) * #134 remove account type * zoobc/zoobc-core#134 blocksmith address length remove * zoobc/zoobc-core#134 blocksmith address length revert * removed nodeRegistrationHeight from tx body (#38) removed nodeRegistrationHeight from tx body (#38) * changes message fields of mempool and transaction; and remove account (#40) * zoobc/zoobc-core#136 remove length field usages (#41) * zoobc/zoobc-core#136 remove length field usages * 128 proof of ownership schema (#35) * 128 proof of ownership schema * remove account type * fixed documentation.swagger.json * removed accounttype from poown message * added UpdateNodeRegistrationTransactionBody * 72 implements download blockchain (#42) * adds models and services required for download mechanism * changes ChainStatus to CHainStatuses * added timestamp to api request message * 107 schema datasets (#43) * add SetupDatasetTransactionBody * update swagger * zoobc/zoobc-core#159 add auth and getNodeHardware service (#44) * zoobc/zoobc-core#159 add auth and getNodeHardware service * 151/get mempool tx detail (#46) * this commit to change transactionBytes to ID * this commit to add swagger documentation * service host: add endpoint GetHostPeers (#48) * service host: add endpoint GetHostPeers * zoobc/zoobc-core#176 add transaction_index (#49) * 86 claim node registration (#50) * removed UpdateNodeRegistrationRequest messge from nodeRegistration, since we use post transaction directly to submit update node registration transactions * added ClaimNodeRegistrationTransactionBody message * fixed transaction body message index numbers * add remove account dataset transaction body (#51) * add remove account dataset transaction body (#51) * 184 nodekeyrequest api (#52) * recompiled schema after merging develop * added NodeKey message to node.proto * renamed proofOfOwnership.proto to nodeAdmin.proto added request response messages for GenerateNodeKey api added grpc service api endpoint * changed NodePublicKey to bytes in NodeKey message model * added auth RequestTypes removed fields from GenerateNodeKeyRequest and GetProofOfOwnershipRequest * 196 enhance api filter (#53) * this commit to add pagination proto file for global purpose * this commit to remove unused fields * this commit to add pagination into mempool * 196 enhance api filter (#54) * this commit to add transactionType in filter field * added proto message for participation score (#55) added proto message for participation score * zoobc/zoobc-core#146 add receipt and update send block / tx parameter (#56) * zoobc/zoobc-core#146 add receipt and update send block / tx parameter * zoobc/zoobc-core#146 remove account swagger json * add Height filed in GetTransactionsRequest (#58) * 224 refactor blocksmithaddress (#57) * merged develop * recompiled schema (updated documentation.swagger.json) * node registry: update request & response message (#59) * 233 enhance getblock response (#60) * added new fields to block proto * changed BlockSmithID to BlockSmithAccountAddress * added new message BlockExtendedInfo to be able to send extra (computed) fields to the client that requests block info * changed Block to BlockExtendedInfo for GetBlock/s apis * fixed wrong type for PreviousBlockID * merged develop and recompiled * updated BlockExtendedInfo to include the Block as a field in its structure instead of duplicating its fields * removed fields that can be calculated by ui * fixed wrong field numbering * zoobc/zoobc-core#255 add receipt wrapper to block struct (#61) * 241 add tx type (#63) * add enum of tx type * 202 batch receipt collection (#62) * this commit adding deprecated between batch and receipt * this commit generating SendTransactionResponse and SendBlockReponse * 202 batch receipt collection (#64) * regenerate documentation swagger file * Port field node registry (#65) * this commit to change NodeAddress as message NodeAddress * 211 publish receipts (#67) *add publishedReceipt model *rename index to published_index due to sql keyword * change FeePerByte type to int64 (#68) * change FeePerByte type to int64 * 342 refactor node registration delete claim register (#69) * refactored nodeRegistration body fields: instead of Queued (bool), now we have RegistrationStatus (uint32) * removed accountAddress from claim node transaction body * updated field description * added enum for node registration status * add block hash field (#70) add block hash field * 395 skipped blocksmith (#71) * zoobc/zoobc-core#305 add skipped blocksmith model * #395 update block height to use uint32 * zoobc/zoobc-core#395 add skipped blocksmith to block extended info * this commit to add BlockHeight into mempool (#72) this commit to add BlockHeight into mempool * adds more info for host and node (#73) * adds more info for host and node * Add the block height at which the node is scrambled * add ScrambledNodes and PriorityPeers (#75) add ScrambledNodes and PriorityPeers (#75) * zoobc/zoobc-core#525 remove smithscale from block proto (#76) * Account ledger (#77) * event model * account ledger model * account ledger modification fields * rename coinbase to reward * add UnresolvingTime field in peer model (#78) add UnresolvingTime field in peer model (#78) * 532 spine block (#79) * Adding schema models for spine blocks' implementation * Add spine.proto - structure to support new spine_public_key table * Updated Block proto * add SpinePublicKey (array) to Block message structure for spine block's payload * changed RegistrationStatus (uint32) into SpinePublicKeyAction (enum) to reflect new application logic * Updated Schema for spine blocks * add blocID field to proto model * Account ledger api (#80) * account ledger api messages * add quote for js client * add timestamp into account ledger (#82) * Updated schema (#81) * changed BlockID with MainBlockHeight because more significant as information * add transaction IDs & p2p requesting transactions (#84) * add transaction IDs & p2p requesting transactions * raname one of proto service * Fit adjustment escrowable tx (#85) * escrow and more adjustment * add status and latest stage of record for rollback purposes * ad block_height into escrow_transaction * add p2p service required for requesting block's transactions (#86) add p2p service required for requesting block's transactions (#86) * Added proto model for megablocks (#83) * Added new proto model * add proto model for megablocks * Updated schema for snapshots * add snapshotchunk proto model * refactored megablock proto model with references to snapshotchunks * Added Megablock to Block proto * Schema refactoring * Add Megablocks (array of MB) instead of single MB to block model to allow multiple MB (for different chain type) to be added to the same spine block * Generalise snapshotChunc to fileChunk (it can be anything from a chunk of a snapshot to a chunk of a blockchain backup) * Updated schema * Remove fileChunk model * Refactor megablock * Refactor megablock to spineblockmanifest * Refactored schema * Change MainHeight to Height in SnapshotFileInfo * Re-compiled schema * Escrow implementation (#87) * more event * escrow has instruction fields * add block ID when request transactions (#88) * add block ID when request transactions * Get Escrow transaction GRPC service (#89) * more fields and new grpc service for escrow get list * add option to jstype string * allow filter by ID * 592 fee model api (#90) * zoobc/zoobc-core#592 add proto def for get tx minimum fee API * zoobc/zoobc-core#592 JS_STRING for int64 * zoobc/zoobc-core#596 add basic multisig model (#91) * zoobc/zoobc-core#596 add basic multisig model * #zoobc/zoobc-core#596 wrap signatures to signature info to save the txHash * #596 update signature structure to use map * #596 add signature info to multisig body * Added proto message for snapshots (#92) * Add SnapshotPayload message representing internal snapshot data structure * zoobc/zoobc-core#600 update multisig managed table model (#93) * escrow grpc service to get single record (#96) * Download file structure (#94) * Adding messages for file(s) download request-response * Add messages for filedownload request/response * Add rpc service for filedownload request * Added logic for downloading files from a random peer and Code Refactoring * Refactor filedownloader: moved to p2p package because being in service generates a cycle dependecy * Add rpc call (client request and server response) to download a file from a random peer * Add logic to download/parse/verify a file and a snapshot * WIP: test new logic * Updated Schema for fileDownload * Add Failed downloaded file names in response message Co-authored-by: stefano galassi <[email protected]> * add signature model (#95) * #603 multisig sender address (#97) * 603 multisig update (#98) * #603 multisig sender address * zoobc/zoobc-core#603 add multisig signature type enum * 634 multisig api (#99) * #646 add health check service * #634 fix multisig api schema * #654 add multisig ledger event type (#100) * zoobc/zoobc-core#660 get multisig info api (#101) * signature: add enum private key length and bitcoin public key format (#103) * Updating schema for snapshots (#102) * Updating schema for snapshots * Add PendingTransaction, PendingSignature and MultiSignatureInfo to SnapshotPayload model * account dataset escrow approval enum (#104) * plural accountDataset name and new request and response message (#105) * add getPeerInfoResponse (#106) * Code Refactoring (#107) * Add SkippedBlocksmith to snapshot proto model * Enhance p2p get peer info (#108) * add getPeerInfoResponse * change field name of GetPeerInfoResponse * Remove timestamp stuff from accountDataset.proto (#109) * remove timestamp stuff from accountDataset.proto * remove commented code * add spine_block_height to enable manifest rollback (#110) * Tech: GetAccountBalances (#111) * Tech: GetAccountBalances Co-authored-by: Nawi Kartini <[email protected]> Co-authored-by: sukrawidhyawan <[email protected]> Co-authored-by: stefano galassi <[email protected]> Co-authored-by: iltoga <[email protected]> Co-authored-by: andy-shi88 <[email protected]> Co-authored-by: capt4ce <[email protected]> Co-authored-by: Admin <[email protected]> Co-authored-by: Hardi Suputra <[email protected]> Co-authored-by: gungdesurya <[email protected]> Co-authored-by: komodo2662 <[email protected]> Co-authored-by: stefano galassi <[email protected]> Co-authored-by: Nawi Kartini <[email protected]> Co-authored-by: Nawi Kartini <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Big Changes:
We'll remove
account type
and proceed only withaccount address
Breakdown
account_type
andaccount_id
*_account_address_length
on transaction headerAdditional Diagram / File
Put additional diagram or file
The text was updated successfully, but these errors were encountered: