pub(crate) async fn save_block(
db: &Database,
dbtx: DatabaseTransaction<'_, '_>,
block: &Block,
block_height: u32,
) -> Result<u32, BridgeError>
Expand description
Saves a Bitcoin block’s metadata and it’s transactions into the database.