Skip to main content

Questions tagged [plugin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Trace API get block call fails on a few blocks - _binary_to_variant function crashing

I'm running 6 mainnet archive nodes, today morning onwards a few blocks are returning 500, internal server error! curl --location $url/v1/trace_api/get_block --header 'Content-Type: application/json' -...
Shinto C V's user avatar
0 votes
1 answer
20 views

Cannot find genesis block in mongodb

I am trying running nodeos with Mongo Db Plugin. Following is my nodeos: nodeos \ --signature-provider Pubkey=KEY:PrivKey\ --plugin eosio::producer_plugin \ --plugin eosio::producer_api_plugin \ --...
Varsh's user avatar
  • 307
0 votes
3 answers
79 views

Switch to MongoDB Plugin or State History Plugin?

My current multinode blockchain is running with nodeos configuration as : nodeos \ --genesis-json $DATADIR"/../../genesis.json" \ --signature-provider PUBKEY=KEY:PRIVKEY\ ...
Varsh's user avatar
  • 307
1 vote
1 answer
185 views

how to get tables rows count in plugin

auto chain_plug = app().find_plugin<chain_plugin>(); eosio::chain_apis::read_only::get_table_by_scope_params param{N("eosio.token"), N("stat"), "EOS", "EOS&...
James Cai's user avatar
1 vote
0 answers
48 views

I'm facing this error after replaying the nodeos, towards the very end block. Can anybody please explain and suggest me something?

I've used this command for replaying on single local testnode and my nodeos version is 2.0.1 sudo nodeos --replay-blockchain -e -p eosio --plugin eosio::producer_plugin --plugin eosio::chain_plugin --...
AditiB's user avatar
  • 235
1 vote
1 answer
56 views

How do I check what plugins are enabled on an eosio single local testnode, without stopping it?

I want to check if my history_plugin and history_api_plugin is running and which options are enabled. How do I check this from cleos ? Also, can I enable history_plugin without replaying or stopping ...
AditiB's user avatar
  • 235
0 votes
1 answer
114 views

How to add mongodb to your private network unable to find plugin: eosio::mongo_db_plugin

I am trying to setup mongodb on private network node on cent OS 7 based server but it throws error unable to find plugin: eosio::mongo_db_plugin. I have uncommented mongo plugin settings in config.ini....
hassan ahmed's user avatar
-1 votes
1 answer
156 views

What is the difference between demux and the state history plugin?

I was looking to work with a tool that would help me reflect transactions on my personal database. I was thinking of using demux but a lot of people suggested state history plugin. I want to know the ...
coder123's user avatar
  • 141
0 votes
1 answer
164 views

State History - Max payload size exceeded in Jungle Block 21,289,343

The State History Plugin (SHiP) exposes the actions and deltas from the chain though Websocket. @tbfleming, the creator of SHiP, have an example application that connects to the node and gets the ...
zeh's user avatar
  • 201
3 votes
2 answers
714 views

State History Plugin. How to deserialize the data?

I cannot find any implementation of a consumer for the state_history_plugin. The official Nodeos webpage suggests the fill-postgresql repo. But, I cannot compile it -- even after building the ...
zeh's user avatar
  • 201
3 votes
1 answer
1k views

difference between history plugin and state history plugin

What I know is, history_plugin : plugins that enable store sort of historical data like action traces, transaction traces. history_api_plugin : plugins that enable to use /history/* APIs. So, ...
Jason's user avatar
  • 317
1 vote
0 answers
49 views

What's the accepted, applied, and irreversible transactions mean in mongo db plugin?

In mongodb plugin, there's interface: void accepted_block( const chain::block_state_ptr& ); void applied_irreversible_block(const chain::block_state_ptr&); void accepted_transaction(const ...
Jimmy Guo's user avatar
  • 1,066
2 votes
1 answer
120 views

Where is the nodeos handling push_transactions from cleos?

I am studying the source code of eos and I saw that in the cleos it has this function. call(push_txn_func, packed_transaction(trx, compression)); I think this is used to push the transaction to the ...
Xudong Shao's user avatar
5 votes
1 answer
286 views

Is there any alternative plugin for history plugin?

Hi,I just see that since 1.2.0, the history plugin is deprecated, and I don't know what plugin can support my requirement, because I want to get the inline actions, while the mongodb plugin seems not ...
Jimmy Guo's user avatar
  • 1,066
2 votes
1 answer
65 views

How to get block producers votes on some past date?

Can't figure out... How to get block producers votes on some past date? From cleos preferably :) By default it returns latest data, while i need it for let's say - yesterday or a week ago. Or can i ...
Vasiliy Bondarenko's user avatar
0 votes
1 answer
92 views

What's the purpose of use_socket_read_watermark

How to use this parameter and why should we use it? in config.ini there is a experimental parameter for socket read watermark optimization use-socket-read-watermark = 0 in net_plugin.cpp ...
Sheldon's user avatar
  • 261
1 vote
1 answer
2k views

How to get all the actions of one account?

I know there are some related questions in the stackExchange, however, not my wanted answer. In eosnetworkmonitor, we can get all the actions of all accounts, how can they do that? There's another ...
Jimmy Guo's user avatar
  • 1,066
3 votes
1 answer
105 views

Can a plugin be configured to only process irreversible blocks?

We would like to implement a custom plugin within our own node, in order to listen to transactions from the main net, and then push relevant information to external services. However, we are ...
Aaron Voelker's user avatar
7 votes
1 answer
699 views

Can a smart contract communicate externally?

Can EOSIO smart contracts communicate externally, say, to some external (preexisting) web-service? I suspect the answer is no, as this would violate determinism, among other guarantees. What is the ...
Aaron Voelker's user avatar
6 votes
2 answers
787 views

How can one make an EOS plugin to just watch one smart contract actions and transactions

I need to make a backend server that reacts to events in my smart contract, such as token transfers, action calling, etc I know that there are DBs plugins (such as SQLite and MongoDb) but I need to ...
lucca65's user avatar
  • 358
6 votes
1 answer
94 views

How many nodes need to install my custom plugin?

If I create a custom plugin for EOS that provides an expanded RPC/API, is it sufficient to install that plugin on my local nodeos instance? Or does it need to be installed on the block producers as ...
John Haager's user avatar
  • 1,844