Expand description
Transaction functions.
Functions§
- add_
tx_ info_ to_ dynamic_ tables - Adds the tx info and related data to the dynamic tables.
- add_
tx_ info_ to_ tapes - Adds the tx info and related data to the tapes, this does not add the tx blob to the tapes.
- get_
num_ tx - How many [
Transaction]s are there? - get_
pruned_ tx_ from_ id - Retrieve a pruned transaction from the database with its
TxId. - get_tx
- Retrieve a [
Transaction] from the database with itsTxHash. - get_
tx_ blob_ from_ id - Returns the tx-blob from a tx id.
- get_
tx_ from_ id - Retrieve a [
Transaction] from the database with itsTxId. - get_
tx_ hash_ from_ id - Retrieve a [
Transaction]’s hash from the database with itsTxId. - read_
prunable_ tape - Gets a transaction by reading the
prunable_tapeif it is Some or otherwise, checking the tip block if the tx is there - remove_
tx_ from_ dynamic_ tables - Removes a transaction from the dynamic tables.
- tx_
exists - Check if a transaction exists in the database.