 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTransactionParticipation ¶
AddTransactionParticipation writes account participation info to the `txn_participation` table.
func AddTransactions ¶
func AddTransactions(block *types.Block, modifiedTxns []types.SignedTxnInBlock, tx pgx.Tx) error
AddTransactions adds transactions from `block` to the database. `modifiedTxns` contains enhanced apply data generated by evaluator.
func SignedTransactionFromBlockPayout ¶ added in v3.7.0
func SignedTransactionFromBlockPayout(block *types.Block) types.SignedTxnWithAD
SignedTransactionFromBlockPayout creates a synthetic transaction for the proposer payout.
Types ¶
type Writer ¶
type Writer struct {
	// contains filtered or unexported fields
}
    Writer is responsible for writing blocks and accounting state deltas to the database.
func (*Writer) AddBlock ¶
AddBlock writes the block and accounting state deltas to the database, except for transactions and transaction participation. Those are imported by free functions in the writer/ directory.
 Click to show internal directories. 
   Click to hide internal directories.