Questions tagged [persistence-api]
The persistence-api tag has no usage guidance.
What are the main differences betwen EOSIO multi_index and Boost multi_index?
Inspired by this comment, I was wondering what are the main differences between eosio::multi_index and boost:multi_index and why do they exist? The documentation notes that there are important ...
Standards for handling private user-data in the persistence API?
When storing and accessing sensitive user-data, using the Multi-Index DB API, what considerations should be made to respect the user's privacy? For sake of example, let's say I want to create a dApp ...
How to store contract state as singleton?
What is the best way to store fields specific for contract, for example if contract has 3 fields (2 strings, 1 uint64_t) and they can be changed? Should I create new table for this, it would always be ...
How the persistent database is saved on the blockchain
I know that the eos blockchain saves the transactions generated data in a persistent database. It has methods to insert, modify and erase data. As the blockchain is supposed to be immutable, does the ...
Are Tables/DBs stored in RAM and held by multiple block producers?
We do have the Persistence API to store data for a smart contract in the EOSIO database. I was wondering where this database is located. I understood that it is patterned after Boost Multi-Index. 1) ...