json rpc – How does Blockchain Exploler or wallet sync with node


So I’m building blockchain implementation and I cant get my head around how will blk explorer see block height of 1 I made a simple indexer and blk explorer, and when it gets a new block via RPC it sends it to the wallet or blk explorer but I’m not sure how will I get old blocks will I call something to block_announce every block or something I don’t really know. So can anyone explain it to me. And I know how blockchain works

Source link

Leave a reply