You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for a new bootstrapping command called "bulk_pull_account" which accepts as arguments:
Account (256-bits)
Minimum Pending Amount (128 bits)
Flags (8-bits)
The Account argument is the public key of an account which we are interested in. The "bulk_pull_account" command will request that the remote node return all blocks related to this account. This includes the frontier for the account and information related to transactions destined for that account that have not yet been received with receiving blocks (pending).
The Minimum Pending Amount argument is the minimum amount that must be pending in a single transaction for an account or block hash to be included in the pending result section.
The Flags argument is an enumeration consisting of the following possible values:
0x00: PENDING_HASH_AND_AMOUNT: This option indicates that the result should include the block hash of the sending block and the amount in the pending section;
0x01: PENDING_ADDRESS_ONLY: This option indicates that the result should only include the sending account public keys in the pending section;
0x02: PENDING_HASH_AMOUNT_AND_ADDRESS (V17.0+): This option indicates the result should include the account sending public key in addition to anything supplied in PENDING_HASH_AND_AMOUNT`
Where blockHash_t and address_t are a 256-bit bitfield, and rawAmount_t is a 128-bit bitfield.
The pending section will terminate with a final entry where all entries have a value of 0. That is, for the case where the PENDING_ADDRESS_ONLY option is selected the result will terminate with a value of a 256-bits 0. If the PENDING_HASH_AND_AMOUNT option is selected the result will terminate with a value of 384 (256+128) bits of 0. If the PENDING_HASH_AMOUNT_AND_ADDRESS option is selected the result will terminate with a value of 640 (256+128+256) bits of 0.
The text was updated successfully, but these errors were encountered:
@inkeliz Because if we use extension bits for this then those bits cannot be used for many things since those things may apply also to bulk_pull_account.
Add support for a new bootstrapping command called "bulk_pull_account" which accepts as arguments:
The Account argument is the public key of an account which we are interested in. The "bulk_pull_account" command will request that the remote node return all blocks related to this account. This includes the frontier for the account and information related to transactions destined for that account that have not yet been received with receiving blocks (pending).
The Minimum Pending Amount argument is the minimum amount that must be pending in a single transaction for an account or block hash to be included in the pending result section.
The Flags argument is an enumeration consisting of the following possible values:
The result will be in the format of
Where blockHash_t and address_t are a 256-bit bitfield, and rawAmount_t is a 128-bit bitfield.
The pending section will terminate with a final entry where all entries have a value of 0. That is, for the case where the PENDING_ADDRESS_ONLY option is selected the result will terminate with a value of a 256-bits 0. If the PENDING_HASH_AND_AMOUNT option is selected the result will terminate with a value of 384 (256+128) bits of 0. If the PENDING_HASH_AMOUNT_AND_ADDRESS option is selected the result will terminate with a value of 640 (256+128+256) bits of 0.
The text was updated successfully, but these errors were encountered: