4
votes
difference between history plugin and state history plugin
I asked my friend Andrew Coutts this question on your behalf, and he said:
So the state history plugin is just a piece of the equation.
The history plugin exposes the RPC API that we're ...
3
votes
Accepted
What is the most reliable endpoint for `/v1/history/get_actions/`
This is a dynamic and constantly changing list and you need to find some sources for it and keep your system updated with it.
Here is one place I found that lists some of the BP endpoints.
Also, ...
2
votes
How to get transaction receipt?
From eosjs module
You can use eosjs node module to get tx status
var txDetail = await eos.getTransaction(req.params.txid);
console.log(txDetail.trx.receipt.status)
From command line using cleos
...
1
vote
Accepted
Cannot find genesis block in mongodb
It's due to the design of eosio. You can find the related information from here.
https://github.com/EOSIO/eos/pull/7690
1
vote
Switch to MongoDB Plugin or State History Plugin?
As you are comfortable with C#, combined with SHiP (state_history_plugin) you can also use GraphEosStreamer and modify it for your needs.
It's a work in progress, ping me on telegram if you want to ...
1
vote
Switch to MongoDB Plugin or State History Plugin?
This article may provide some alternative solutions:
https://cc32d9.medium.com/history-and-notifications-in-eosio-blockchain-8255194af93
1
vote
Accepted
How do I check what plugins are enabled on an eosio single local testnode, without stopping it?
This is not a direct way, but you can check whether ***_api_plugin is activated by calling /v1/node/get_supported_apis. Run the next command in command line (in the case of local testnet). You should ...
1
vote
Accepted
Failed to migrate to postgres database: nerror: duplicate key value violates unique constraint \"pg_namespace_nspname_index\"
Other than the error of the duplicate key I would get a deadlock detected error, if I ever ran the demux after previously running it, or I would get current transaction is aborted, commands ignored ...
1
vote
What is the difference between demux and the state history plugin?
Overall:
Both state_history_plugin and demux can be used to cache the contract action data into database/memory for fast access in a structured manner.
State_History_Plugin:
State_history_plugin is ...
1
vote
Accepted
Questions about state history plugin with fill-postgresql (history-tools)
I found answer:
Just set PG* environment variables. If so, fill-pg will use them.
Community wiki
1
vote
How to parse action data?
You need to use an abi deserializer, such as abieos or eosjs.
eosjs:
const deserializedActionData = deserializeActionData(
contract: "eosio.token",
...
1
vote
Accepted
State History - Max payload size exceeded in Jungle Block 21,289,343
The solution is simple but obscure if you are not used to nodejs applications. Just run the application with the flag --max-old-space-size=8192
For example,
node --max-old-space-size=8192 fill.js
...
1
vote
What is the most reliable endpoint for `/v1/history/get_actions/`
https://eos.greymass.com:443
This one works at the time of my posting
1
vote
What is the most reliable endpoint for `/v1/history/get_actions/`
Most of the listed API end-points in EOSDocs.io is not enabled with history plug-in. So actions like get_transactions and get_actions are not possible.
I found https://public.eosinfra.io is working ...
1
vote
How to get transaction receipt?
I tried to find get receipt too but can't find anything related.
but int the path libraries/testing we can see a simple test.
void base_tester::open() {
control.reset( new controller(cfg) );
...
1
vote
Accepted
How to erase all transaction history of an account?
No, the blockchain is immutable and distributed.
Due to immutability, any change in past blocks would alter the block hash, making the rest of the chain invalid.
Due to being distributed, anyone can ...
1
vote
Setup a full node to use history plugin | docker quickstart sufficient?
It is sufficient. As long as you have server powerful enough. Especially storage.
1
vote
Is there any alternative plugin for history plugin?
It would help if you elaborated on what your "requirement" is as well as what "functions" are not being provided by the MongoDB plugin.
If you want to store actions to MongoDB, you could use demux to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
history × 21nodeos × 7
plugin × 7
transactions × 3
node × 2
full-node × 2
single-node × 2
smart-contract × 1
cleos × 1
accounts × 1
table × 1
mainnet × 1
api × 1
testnet × 1
blocks × 1
database × 1
docker × 1
data-storage × 1
event × 1