Proto commits in nknorg/nkn

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

Commit:17da8fa
Author:Yilun
Committer:Yilun Zhang

add ledger mode to node data and getnodestate rpc response Signed-off-by: Yilun <zyl.skysniper@gmail.com>

The documentation is generated from this commit.

Commit:591349b
Author:billfort
Committer:Yilun Zhang

Implement txn pool syncing by random address and time window Signed-off-by: billfort <fxbao@hotmail.com>

Commit:21847a9
Author:crasker
Committer:Yilun Zhang

add fastsync state msg protbuf definition

Commit:e17de61
Author:Yilun
Committer:Yilun Zhang

Implement stricter sigchain verify logic and sigchain objection Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:3b5e32b
Author:crasker
Committer:Yilun Zhang

add generate id2 function with registration fee

Commit:1739abf
Author:Yilun
Committer:Yilun Zhang

Use generalized ID version instead of ID1 and ID2 Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:52c7188
Author:Yilun
Committer:Yilun Zhang

Change subscribe meta internal type from string to bytes Protobuf bytes and string have the same encoding but different restrictions: string can now only contain utf-8 characters. However, the current chain data contains non-utf-8 string in meta generated using old pb version, which will cause new version fail to save certain blocks. Changing internal type to bytes will resolve the issue without breaking compatibility. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:3dc82e1
Author:Yilun
Committer:Yilun Zhang

Switch from gogo pb to google pb to reduce memory usage on mobile Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:e13663a
Author:Yilun
Committer:Yilun Zhang

Add pin sigchain protocol to reduce relay ram usage (stage 1/2) When most nodes have updated, sigChainElemCacheExpiration will be reduced in the next stage to reduce ram usage. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:09c8c1b
Author:Yilun
Committer:Yilun Zhang

Migrate sigchain sigAlgo from hash to signature Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:e671654
Author:Yilun
Committer:Yilun Zhang

Add https json rpc address in getws[s]addr response Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:a9fc6be
Author:Yilun
Committer:Yilun Zhang

Fix gofmt, ineffassign, misspell warnings Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:cabde18
Author:Yilun
Committer:Yilun

Fix gofmt, ineffassign, misspell warnings Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:36db1fd
Author:Yilun
Committer:Yilun

Migrate sigchain sigAlgo from hash to signature Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:10876a2
Author:crasker
Committer:Yilun Zhang

add name transfer function

Commit:83024c4
Author:crasker
Committer:Yilun Zhang

Add name registration fee

Commit:07803a9
Author:Yilun
Committer:Yilun Zhang

Fix pb message field name inconsistent Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:87a96c5
Author:Yilun
Committer:gdmmx

Use remote node wss port instead of local port Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:7dfb818
Author:crasker
Committer:gdmmx

Add getWssAddr API

Commit:7461f76
Author:Yilun
Committer:gdmmx

Implement multicast and compression protocol Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:0cc9c3f
Author:Nikolai Perevozchikov
Committer:Yilun Zhang

add pubsub enchancements 1. prolong existing subscription 2. rpc method to get subscription duration and meta 3. specify offset and limit when requesting subscribers 4. make bucket optional (0 by default) 5. unsubscribe 6. get subscribers from pool too 7. fix subscription count BVS

Commit:e683354
Author:NoelBright
Committer:Yilun Zhang

modify json format infomation of block modify json format infomation of block Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:a577b16
Author:NoelBright
Committer:Yilun Zhang

Modify Block, Header and Transaction structures Use Marshal function for serialization of Block. Use SerializeUnsigned function for calculating the hash. Use the same strategy for Header and Transaction. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:44355fc
Author:NoelBright
Committer:Yilun Zhang

Delete types. make new folders: transaction and block 1. delete types. make new folders: transaction and block 2. move all *.proto from types to pb/ 3. move all *.proto from por to pb/ Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:7aeb07a
Author:NoelBright
Committer:Yilun Zhang

move Block and Header structures to types 1. move Block and Header structures to types Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:226b9cf
Author:NoelBright
Committer:Yilun Zhang

Use proto buffer to make block and header structures 1. Use proto buffer to make block and header structures Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:fb2a579
Author:NoelBright
Committer:Yilun Zhang

Use New Transaction Struct with Protobuffer 1. add new MsgTx, BlockHeader and Block types. 2. Use protobuffer to instead old struct. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:21e7a1d
Author:Yilun
Committer:Yilun Zhang

Add src id and dest id in sigchain header Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:914f00f
Author:Yilun
Committer:Yilun Zhang

Rename Signer/ChordId to SignerPk/SignerId in block header Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:02ad496
Author:Yilun
Committer:Yilun Zhang

Change nanopay height+duration to expiration For nanopay to be safe, all txn expiration needs to be no later than any nano expiration (for the same nanopay), and thus it's not a good idea to use duration to have dymanic expiration. Instead, it's better to use static expiration height and do not change it for the duration of the nanopay. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:8d440e2
Author:NoelBright
Committer:Yilun Zhang

add issueAsset structure and modify account structure 1. add issueAsset structure 2. modify account structure 3. add assetid for NKN asset. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:a6cca5e
Author:Yilun
Committer:Yilun Zhang

Rename pb enum to follow pb naming standard Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:7f762c8
Author:Yilun
Committer:Yilun Zhang

rename commit txn type to sigchain txn type Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:a0c4fc4
Author:Yilun
Committer:Yilun Zhang

Implement client signed sigchain element Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:5100439
Author:Nikolai Perevozchikov
Committer:Yilun Zhang

implement initial version of nano pay

Commit:ef45f17
Author:Yilun
Committer:Yilun Zhang

Implement efficient sigchain broadcasting Previously each node will send sigchain (commit) txn directly to all neighbors, so each node will receive the same sigchain txn once from all its neighbors. Now each node will first send the height and sighash of sigchain txn to its neighbors, and its neighbor will request it if it's the most optimal sigchain so far for the height. This will greatly reduce sigchain broadcasting overhead. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:483694a
Author:Yilun
Committer:Yilun Zhang

Implement fast block propagation by only requesting txn hash Previously a block proposal is transmitted with all txn in it. However, this will lead to significant block progation delay and bandwidth waste if most txnx in the proposal are already progagated enough before proposal is sent. Therefore, it's enough to only include a list of txn short hash or hash in block proposal, and receiver will request the missing txns in it. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:d94ad8a
Author:Yilun
Committer:Yilun Zhang

Use pb struct directly in message to avoid double unmarshal Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:372ff95
Author:Yilun
Committer:Yilun Zhang

Remove dot imports except for importing nkn/common Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:cdf3469
Author:Yilun
Committer:Yilun Zhang

Change all msg type to unsigned The hop by hop encryption introduced in last commit provides authenticated encryption and thus have the same (actually better) security guarantee (only to the receiver though). So it's no longer needed for direct msg to be signed. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:1eda410
Author:NoelBright
Committer:Yilun Zhang

Rename ConsensusData to RandomBeacon 1. Rename ConsensusData to RandomBeacon> 2. Change it to 64 bytes to provide enough entropy for most purposes. 3. use RandomBytes defined in crypto/util/util.go to generate random nunber. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:e9b6e01
Author:NoelBright
Committer:Yilun Zhang

add GenerateID transaction in pb/payload.proto add GenerateID transaction in pb/payload.proto. message GenerateID { bytes public_key = 1; bytes registration_fee = 2; } Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:f81f78f
Author:Yilun
Committer:Yilun Zhang

Start block verification after sigchain cached is filled This prevent new node from blocking consensus due to empty sigchain cache. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:4b62cfc
Author:Yilun
Committer:Yilun Zhang

Change sigchain algorithm to Optimize bandwidth and cpu usage * Signature chain now use the hash of msg + VRF of block hash as "signature" and reveal VRF when it's no longer used. Only one VRF computation is required per block epoch, hugely reduces the CPU overhead. * Sigchain is no longer part of the relay packet. Just the last signature (constant size) is added to the relay packet so that the space overhead is O(1) and < 100 bytes. * The sigchain will be recovered by backtracking. Each node will only attempt to recover one sigchain per block epoch. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:33abd45
Author:NoelBright
Committer:Yilun Zhang

update SigChain and SigChainElem proto structure add 'Proof' member in SigChainElem. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:e91fa2b
Author:NoelBright
Committer:Yilun Zhang

fixbug: use pb.ED25519 for sigchain instead of pb.ECDSA Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:c4741da
Author:NoelBright
Committer:Yilun Zhang

delete unused member in Header structure delete NextBookKeeper and Programs in Header structure Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:bf308da
Author:NoelBright
Committer:Yilun Zhang

modify proto files according the standard style according https://developers.google.com/protocol-buffers/docs/style to format block.proto, header.proto, transaction.proto. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:3085342
Author:Yilun
Committer:Yilun

Change nanopay height+duration to expiration For nanopay to be safe, all txn expiration needs to be no later than any nano expiration (for the same nanopay), and thus it's not a good idea to use duration to have dymanic expiration. Instead, it's better to use static expiration height and do not change it for the duration of the nanopay. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:ac442f7
Author:NoelBright
Committer:Yilun

add issueAsset structure and modify account structure 1. add issueAsset structure 2. modify account structure 3. add assetid for NKN asset. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:56c74b7
Author:Yilun
Committer:Yilun

Rename Signer/ChordId to SignerPk/SignerId in block header Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:6dcfa69
Author:Yilun
Committer:Yilun

Rename pb enum to follow pb naming standard Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:e5b755d
Author:Yilun
Committer:Yilun

rename commit txn type to sigchain txn type Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:6c626bd
Author:Yilun
Committer:Yilun

Implement client signed sigchain element Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:0c5453f
Author:Yilun
Committer:Yilun

Implement fast block propagation by only requesting txn hash Previously a block proposal is transmitted with all txn in it. However, this will lead to significant block progation delay and bandwidth waste if most txnx in the proposal are already progagated enough before proposal is sent. Therefore, it's enough to only include a list of txn short hash or hash in block proposal, and receiver will request the missing txns in it. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:b5c8da9
Author:Nikolai Perevozchikov
Committer:Yilun

implement initial version of nano pay

Commit:85fe57b
Author:Yilun
Committer:Yilun

Implement efficient sigchain broadcasting Previously each node will send sigchain (commit) txn directly to all neighbors, so each node will receive the same sigchain txn once from all its neighbors. Now each node will first send the height and sighash of sigchain txn to its neighbors, and its neighbor will request it if it's the most optimal sigchain so far for the height. This will greatly reduce sigchain broadcasting overhead. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:7fb8060
Author:Yilun
Committer:Yilun

Use pb struct directly in message to avoid double unmarshal Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:adad11c
Author:Yilun
Committer:Yilun

Remove dot imports except for importing nkn/common Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:c4fb4d3
Author:Yilun
Committer:Yilun

Change all msg type to unsigned The hop by hop encryption introduced in last commit provides authenticated encryption and thus have the same (actually better) security guarantee (only to the receiver though). So it's no longer needed for direct msg to be signed. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:bdcb567
Author:NoelBright
Committer:Yilun

Rename ConsensusData to RandomBeacon 1. Rename ConsensusData to RandomBeacon> 2. Change it to 64 bytes to provide enough entropy for most purposes. 3. use RandomBytes defined in crypto/util/util.go to generate random nunber. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:9ca2d93
Author:NoelBright
Committer:Yilun

modify proto files according the standard style according https://developers.google.com/protocol-buffers/docs/style to format block.proto, header.proto, transaction.proto. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:4512f6d
Author:NoelBright
Committer:Yilun

modify json format infomation of block modify json format infomation of block Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:976e350
Author:NoelBright
Committer:Yilun

delete unused member in Header structure delete NextBookKeeper and Programs in Header structure Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:ca3b2ba
Author:NoelBright
Committer:Yilun

fixbug: use pb.ED25519 for sigchain instead of pb.ECDSA Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:a2f72bb
Author:NoelBright
Committer:Yilun

add GenerateID transaction in pb/payload.proto add GenerateID transaction in pb/payload.proto. message GenerateID { bytes public_key = 1; bytes registration_fee = 2; } Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:9e049ba
Author:Yilun
Committer:Yilun

Start block verification after sigchain cached is filled This prevent new node from blocking consensus due to empty sigchain cache. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:a831956
Author:Yilun
Committer:Yilun

Add src id and dest id in sigchain header Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:778678f
Author:Yilun
Committer:Yilun

Change sigchain algorithm to Optimize bandwidth and cpu usage * Signature chain now use the hash of msg + VRF of block hash as "signature" and reveal VRF when it's no longer used. Only one VRF computation is required per block epoch, hugely reduces the CPU overhead. * Sigchain is no longer part of the relay packet. Just the last signature (constant size) is added to the relay packet so that the space overhead is O(1) and < 100 bytes. * The sigchain will be recovered by backtracking. Each node will only attempt to recover one sigchain per block epoch. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:d303f1a
Author:NoelBright
Committer:Yilun

update SigChain and SigChainElem proto structure add 'Proof' member in SigChainElem. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:763e67d
Author:NoelBright
Committer:Yilun

Modify Block, Header and Transaction structures Use Marshal function for serialization of Block. Use SerializeUnsigned function for calculating the hash. Use the same strategy for Header and Transaction. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:4047652
Author:NoelBright
Committer:Yilun

Use proto buffer to make block and header structures 1. Use proto buffer to make block and header structures Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:ef6ca9e
Author:NoelBright
Committer:Yilun

move Block and Header structures to types 1. move Block and Header structures to types Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:f83d740
Author:NoelBright
Committer:Yilun

Delete types. make new folders: transaction and block 1. delete types. make new folders: transaction and block 2. move all *.proto from types to pb/ 3. move all *.proto from por to pb/ Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:62e3585
Author:NoelBright
Committer:Yilun

Use New Transaction Struct with Protobuffer 1. add new MsgTx, BlockHeader and Block types. 2. Use protobuffer to instead old struct. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:b4f1f6a
Author:Yilun
Committer:Yilun Zhang

Rename Signer/ChordId to SignerPk/SignerId in block header Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:855add4
Author:Yilun
Committer:Yilun Zhang

Change nanopay height+duration to expiration For nanopay to be safe, all txn expiration needs to be no later than any nano expiration (for the same nanopay), and thus it's not a good idea to use duration to have dymanic expiration. Instead, it's better to use static expiration height and do not change it for the duration of the nanopay. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:e5019af
Author:NoelBright
Committer:Yilun Zhang

add issueAsset structure and modify account structure 1. add issueAsset structure 2. modify account structure 3. add assetid for NKN asset. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:25d4e82
Author:Yilun
Committer:Yilun Zhang

Rename pb enum to follow pb naming standard Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:7f1d800
Author:Yilun
Committer:Yilun Zhang

rename commit txn type to sigchain txn type Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:a425395
Author:Yilun
Committer:Yilun Zhang

Implement client signed sigchain element Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:1a83149
Author:Nikolai Perevozchikov
Committer:Yilun Zhang

implement initial version of nano pay

Commit:4fe8a18
Author:Yilun
Committer:gdmmx

Implement efficient sigchain broadcasting Previously each node will send sigchain (commit) txn directly to all neighbors, so each node will receive the same sigchain txn once from all its neighbors. Now each node will first send the height and sighash of sigchain txn to its neighbors, and its neighbor will request it if it's the most optimal sigchain so far for the height. This will greatly reduce sigchain broadcasting overhead. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:4515366
Author:Yilun
Committer:gdmmx

Implement fast block propagation by only requesting txn hash Previously a block proposal is transmitted with all txn in it. However, this will lead to significant block progation delay and bandwidth waste if most txnx in the proposal are already progagated enough before proposal is sent. Therefore, it's enough to only include a list of txn short hash or hash in block proposal, and receiver will request the missing txns in it. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:232a4c8
Author:Yilun
Committer:gdmmx

Use pb struct directly in message to avoid double unmarshal Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:81d0ae0
Author:Yilun
Committer:gdmmx

Remove dot imports except for importing nkn/common Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:179cbe0
Author:Yilun
Committer:gdmmx

Change all msg type to unsigned The hop by hop encryption introduced in last commit provides authenticated encryption and thus have the same (actually better) security guarantee (only to the receiver though). So it's no longer needed for direct msg to be signed. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:43967b3
Author:NoelBright
Committer:gdmmx

Rename ConsensusData to RandomBeacon 1. Rename ConsensusData to RandomBeacon> 2. Change it to 64 bytes to provide enough entropy for most purposes. 3. use RandomBytes defined in crypto/util/util.go to generate random nunber. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:d6de40a
Author:NoelBright
Committer:gdmmx

add GenerateID transaction in pb/payload.proto add GenerateID transaction in pb/payload.proto. message GenerateID { bytes public_key = 1; bytes registration_fee = 2; } Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:79da566
Author:Yilun
Committer:gdmmx

Start block verification after sigchain cached is filled This prevent new node from blocking consensus due to empty sigchain cache. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:e817bfc
Author:NoelBright
Committer:gdmmx

update SigChain and SigChainElem proto structure add 'Proof' member in SigChainElem. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:1d4e142
Author:Yilun
Committer:gdmmx

Add src id and dest id in sigchain header Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:0ad6908
Author:Yilun
Committer:gdmmx

Change sigchain algorithm to Optimize bandwidth and cpu usage * Signature chain now use the hash of msg + VRF of block hash as "signature" and reveal VRF when it's no longer used. Only one VRF computation is required per block epoch, hugely reduces the CPU overhead. * Sigchain is no longer part of the relay packet. Just the last signature (constant size) is added to the relay packet so that the space overhead is O(1) and < 100 bytes. * The sigchain will be recovered by backtracking. Each node will only attempt to recover one sigchain per block epoch. Signed-off-by: Yilun <zyl.skysniper@gmail.com>

Commit:70f4ddb
Author:NoelBright
Committer:gdmmx

fixbug: use pb.ED25519 for sigchain instead of pb.ECDSA Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:6da3f33
Author:NoelBright
Committer:Yilun Zhang

delete unused member in Header structure delete NextBookKeeper and Programs in Header structure Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:444d262
Author:NoelBright
Committer:Yilun Zhang

modify proto files according the standard style according https://developers.google.com/protocol-buffers/docs/style to format block.proto, header.proto, transaction.proto. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:fd4b8d3
Author:NoelBright
Committer:Yilun Zhang

modify json format infomation of block modify json format infomation of block Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:98215f7
Author:NoelBright
Committer:Yanbo Li

Modify Block, Header and Transaction structures Use Marshal function for serialization of Block. Use SerializeUnsigned function for calculating the hash. Use the same strategy for Header and Transaction. Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:20c3965
Author:NoelBright
Committer:NoelBright

Delete types. make new folders: transaction and block 1. delete types. make new folders: transaction and block 2. move all *.proto from types to pb/ 3. move all *.proto from por to pb/ Signed-off-by: NoelBright <noel.n.bright@gmail.com>

Commit:52da105
Author:NoelBright
Committer:NoelBright

move Block and Header structures to types 1. move Block and Header structures to types Signed-off-by: NoelBright <noel.n.bright@gmail.com>