bool block_chain_impl::push(block_detail::ptr block)
{
    database_.push(block->actual());
    return true;
}
예제 #2
0
void simple_chain_impl::append(block_detail::ptr incoming_block)
{
    BITCOIN_ASSERT(incoming_block);
    database_.push(incoming_block->actual());
}