Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [chainbase]

The tag has no usage guidance.

0
votes
1answer
23 views

How to read data at certain block number on EOS?

How to read data at certain block number on EOS? e.g. How could I read the data of a contract's table at certain block number?
0
votes
0answers
6 views

What is different between reversible_blocks and fork_database?

Could you please let me know What is different between reversible_blocks and fork_database? In EOS code defines reversible_blocks as: chainbase::database reversible_blocks; ///< a ...
0
votes
0answers
24 views

How does session of chainbase work?

Do you have any knowledge about session of chainbase (It means: Each user we can create a session in chainbase and this session exits util user who be deleted. And The session contains many ...
0
votes
1answer
40 views

Can we use mongodb store state?

I read chainbase and fork database, I understood chainbase which stores user state and fork database which stores blocks. So Can I use mongodb to store user state and ignore chainbase? If it can, we ...
0
votes
1answer
26 views

What is mongodb_plugin used for?

I have some confuse with chain_plugin and mongo_plugin, why do we need them? And if I can modify chainbase which can write directly state to disk, Do I can discard mongoDB?
0
votes
0answers
16 views

How to start with chainbase?

I am reading chainbase, and I wonder if anyone have idea to start with chainbase? This means: what does it flows, and if I write directly to disk, it is fine? Because I see in chainbase class, I see ...
3
votes
1answer
53 views

Where is the fork database?

I am just reading source code of EOS but I am not clear with fork databases. I do not know exactly where it is (on RAM or on disk). I also would like to have a look at the exact code. Which files are ...
1
vote
1answer
25 views

Can the contract data not exist in the chainbase but in an external system such as MongoDB, MySQL

Due to the limitations of the contract, the external system cannot be read, and more data needs to be stored in the actual business to execute the contract based on the data. And these data are ...
1
vote
1answer
29 views

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

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 ...
0
votes
1answer
248 views

What is the ChainBase database used for?

EOSIO appears to make use of the Chainbase database for various functions in the codebase. What is this used for and how does it relate to the RAM concept in EOSIO? Is it simply the database used to ...