You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.3 KiB

layout
simple

ToyChain Transaction

Transactions block is an added record to the block which allow to attached values transfer to the block.

A transaction descript a transfer of value between account protected via ECC (we use secp256k1 see code ECKeys.pm).

You can register your keypair in the admin section under signup / keygen.

A transaction has inputs, outputs, and signatures, in order be valid

  • the total of inputs must be greater than the total of ouputs
  • every account on the input side must have enough balance to satisfy the transactions
  • all signature attached to the transaction must be authentic and the signed message not tempered

example of transaction in (yaml format)

{% comment %} sign validate {%- endcomment -%} submit

txaddr: :txaddr

txpool