TransWikia.com

How can I read block data from chainbase memory of a running node?

EOS.IO Asked by eosahota on January 31, 2021

I am running nodeos on my local machine. I can get the account data for an account by hitting the chain/get_account API. However, I wish to extend its functionality in the form of a plugin without hitting the API but by writing the code to access it internally.
Can someone suggest a method to access the data present in shared memory of the node?

One Answer

You could see the source code in EOS:

There is a function called get_account in plugins/chain_plugin/chain_plugin.cpp

Answered by luoyhang003 on January 31, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP