-
Notifications
You must be signed in to change notification settings - Fork 7
TX vchdata serialization definition
zhongjin edited this page Nov 19, 2019
·
2 revisions
- nType = TX_TOKEN
- sendTo: the address type is pubkey,or TemplateId = TEMPLATE_WEIGHTED / TEMPLATE_MULTISIG
- vchData is not null
0 16 20 21 x E
|________________|____|_|_________|______________________________________________|
- byte0 ~ byte15 : UUID (RFC 4122)
- byte16 ~ byte19 : timestamp (UTC in second)
- byte20 : szDesc , strDescription size,if the value is 0, it is said that no strdescription field
- If "szDesc" value is not 0, Strdescription from 21st byte,size is "szDesc". Strdescription needs to be encoded with Base64, and the encoded length cannot exceed 255 bytes.
- Then there are user-defined data segments. It is recommended to use “MessagePack/BSON” for encapsulation
NOTE: The application is indexed by UUID, and TX query and retrieval can be performed by UUID and timestamp.
- Source Installation
- Executable Programs
- Take A Tour of BigBang
- CPoW SOLO Guide
- Create Forks
- Exchange Token Between Two Forks
- Mining by Connect to The Pool
- Miner Program
- EDPoS Vote Guide
- JSON RPC
- Command Line Tool
- TX vchdata serialization definition
- Tx signature field structure
- Multisignature
- IO Stream
- Data Stream