Skip to main content
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 ...
Phillip Hamnett - EOS42's user avatar
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, ...
Ami Heines's user avatar
  • 1,686
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 ...
Prashant Prabhakar Singh's user avatar
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
conr2d's user avatar
  • 2,320
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 ...
cmadh's user avatar
  • 1,929
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
Matthew Darwin's user avatar
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 ...
conr2d's user avatar
  • 2,320
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 ...
coder123's user avatar
  • 141
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 ...
Farhan-TroonTechnologies's user avatar
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.
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", ...
cmadh's user avatar
  • 1,929
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 ...
zeh's user avatar
  • 201
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
Magic Man Xpress's user avatar
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 ...
Muhzin's user avatar
  • 510
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) ); ...
fen chen's user avatar
  • 163
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 ...
confused00's user avatar
  • 5,554
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.
Vasiliy Bondarenko's user avatar
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 ...
Nat's user avatar
  • 3,425

Only top scored, non community-wiki answers of a minimum length are eligible