cruz library

Classes

CRUZ
cruzbit: A simple decentralized peer-to-peer ledger implementation. https://github.com/cruzbit/cruzbit
CruzAddress
CRUZ implementation of the Wallet entry Address abstraction.
CruzBlock
Represents a block in the block chain. It has a header and a list of transactions. As blocks are connected their transactions affect the underlying ledger. Reference: https://github.com/cruzbit/cruzbit/blob/master/block.go
CruzBlockHeader
Data used to determine block validity and place in the block chain. Reference: https://github.com/cruzbit/cruzbit/blob/master/block.go
CruzBlockId
Unique identifier for Block. e.g. the SHA3-256 of CruzBlockHeader JSON.
CruzBlockIds
List of CruzBlockId
CruzChainCode
SLIP-0010 chain code.
CruzPeer
CRUZ implementation of the PeerNetwork entry Peer abstraction. Reference: https://github.com/cruzbit/cruzbit/blob/master/protocol.go
CruzPeerNetwork
The cruzbit.1 PeerNetwork implementing a distributed ledger.
CruzPrivateKey
Ed25519 private key (pair), 64 bytes.
CruzPublicKey
Ed25519 public key, 32 bytes.
CruzSignature
Ed25519 signature, 64 bytes.
CruzTransaction
A ledger transaction representation. It transfers value from one public key to another. Reference: https://github.com/cruzbit/cruzbit/blob/master/transaction.go
CruzTransactionId
SHA3-256 of the CRUZ transaction JSON.

Constants

genesisBlockJson → const String
The first CruzBlock in the chain: https://www.cruzbase.com/#/height/0
'''{ "header": { "previous": "0000000000000000000000000000000000000000000000000000000000000000", "hash_list_root": "7afb89705316b3de7…