Module grin_wallet_libwallet::slate_versions::v4
source · Expand description
Contains V4 of the slate (grin-wallet 4.0.0) Changes from V3: /#### Top-Level Slate Struct
- The
version_info
struct is removed, and is replaced withver
, which has the format “[version]:[block header version]” sta
is added, with possible values S1|S2|S3|I1|I2|I3|NAnum_participants
is renamed tonum_parts
num_parts
may be omitted from the slate. If omitted its value is assumed to be 2.amount
is renamed toamt
amt
may be removed from the slate on the S2 phase of a transaction.fee
may be removed from the slate on the S2 phase of a transaction. It may also be ommited when intiating an I1 transaction, and added during the I2 phase.lock_height
is removedfeat
is added to the slate denoting the Kernel feature set. May be omitted from the slate if kernel is plain (0)ttl_cutoff_height
is renamed tottl
ttl
may be omitted from the slate. If omitted its value is assumed to be 0 (no TTL).- The
participant_data
struct is renamed tosigs
tx
is removed- The
coms
(commitments) array is added, from which the final transaction object can be reconstructed - The
payment_proof
struct is renamed toproof
- The feat_args struct is added, which may be populated for non-Plain kernels
proof
may be omitted from the slate if it is None (null),off
(offset) is added, and will be modified by every participant in the transaction with a random value - the value of their inputs’ blinding factors
§Participant Data (sigs
)
public_blind_excess
is renamed toxs
public_nonce
is renamed tononce
part_sig
is renamed topart
part
may be omitted if it has not yet been filled outmessage
is removedmessage_sig
is removedid
is removed. Parties can identify themselves via the keys stored in their transaction context
§Payment Proof Data (proof
)
- The
sender_address
field is renamed tosaddr
- The
receiver_address
field is renamed toraddr
- The
receiver_signature
field is renamed torsig
rsig
may be omitted if it has not yet been filled out
Structs§
- A mining node requests new coinbase via the foreign api every time a new candidate block is built.
- Kernel features arguments definition
Enums§
- Slate state definition