async fn process_new_blocks(
db: &Database,
rpc: &ExtendedBitcoinRpc,
dbtx: DatabaseTransaction<'_, '_>,
new_blocks: &[BlockInfo],
) -> Result<(), BridgeError>
Expand description
Processes and inserts new blocks into the database, emitting a new block event for each.