Questions tagged [nodeos]
Questions about the EOSIO node software that can be used for validating transactions, broadcasting information, producing blocks, responding to API calls, and enabling local development. Questions may pertain to configuring the node, debugging its outputs, interacting with plugins, interacting with remote nodes, and others.
301
questions
8
votes
2answers
411 views
Nodeos failing to launch?
After a fresh build, nodeos tests are failing:
The following tests FAILED:
28 - nodeos_run_test (Failed)
29 - nodeos_run_remote_test (Failed)
Errors while running CTest
Verbose output from ...
7
votes
3answers
1k views
How to deploy a contract to testnet?
I have been testing and a lot of the docs refer to deploying to a local node only. How we can deploy a contract to the jungle testnet?
6
votes
3answers
3k views
How can I find out the API endpoint for a block producer
Given a list of block producers such as this one:
https://eosportal.io/chain/12/producers
or this one
http://eosnetworkmonitor.io/
How do I figure out the API endpoints that I can connect to with ...
6
votes
2answers
515 views
How to sign a transaction locally using python?
I want to sign a transaction to use it with the rpc endpoint v1/chain/push_transaction.
Until nodeos v.1.1 its was explained in the docs on how to use nodeos (probably keosd indirectly) to do wallet ...
6
votes
4answers
3k views
Get balance by address
Which endpoint can return me balance and full transaction history by given parameter address. Accordingly to this documentation RPC documentation I need to have account name. Or how can i start FUll ...
6
votes
1answer
188 views
When to use RocksDB compared to Chainbase?
The EOSIO developers website says:
Nodeos stores the transaction history and a current state. The
transaction history is stored in the blocks.log file on disk. State,
which is changed by the ...
5
votes
1answer
145 views
How to verify signature from $ cleos get block BLOCKNUM
How to verify the signature of data returned from $ cleos get block BLOCKNUM to insure that the data returned came from the blockchain and not 'spoofed' by a man-in-the-middle?
cleos get block 132
{"...
5
votes
1answer
106 views
Is it possible for a smart contract to deploy another?
Is there a command for a smart contract to deploy another? As an example, is it possible to create a token factory, where users can select the name/total supply, and be given ownership of a new ...
4
votes
1answer
451 views
What is the typical RAM size of smart contract?
What is the typical amount of RAM needed to store a smart contract?
Can you give some examples and their RAM sizes?
4
votes
1answer
756 views
How to configure block producer to have front-end and back-end cluster nodes
In order to have high-availability, scalability and network efficiency, how to configure an EOS block producer to have front-end cluster nodes (that handle user and peer-to-peer requests) and back-end ...
4
votes
1answer
410 views
Error 3070003: Serialization Error Processing WASM
I was trying to deploy my smart contract to the local testnet and got this error.
Error 3070003: Serialization Error Processing WASM
I was using a command cleos set contract testing . hello.wast ...
4
votes
4answers
1k views
How do I cleanly shut down NodeOS?
I'd like to cleanly shut down NodeOS so that the next time I start it, I don't have to --resync. How do I do that?
Edit: Just to clarify the purpose of what might seem like an extremely obvious ...
4
votes
1answer
39 views
Returning values from actions
I am trying to return a value from an action as follows:
[[eosio::action("test2")]] int test2(int x)
{
return x;
}
The code compiles correctly, and the ABI file shows the correct action ...
4
votes
2answers
993 views
What is the best way of storing data on EOS blockchain?
I come across a situation where i need to implement a relational database for an application.
Now my question is how to implement it and where should i save the data? also i don't want to save data on ...
4
votes
2answers
578 views
What is the standard EOS.IO development environment (IDE, OS, etc)?
I'm just wondering if there is a developer-friendly development environment for EOS.IO (https://github.com/EOSIO/eos) ?
Because I found using a editor is not convenient enough to do some unit testing.
4
votes
2answers
275 views
How to stop nodeos from generating a message every block
How to stop nodeos from generating a message every block? I was trying to do the tutorial and have to have nodeos running in the background but how do I do the tutorial without nodeos showing a ...
4
votes
1answer
104 views
Fewer than 21 producers for custom EOS blockchain?
Can one configure a custom EOS blockchain to require fewer than 21 producers, e.g. 3 or 10? And if so, how?
I can't find anything in the various *config.hpp* source files like chain_config.hpp.
4
votes
1answer
614 views
How does the EOS account system work together with smart contracts?
It's my first step into eos and Trying to get some ideas.
I really do hope you can help me.
Question 1) As we all know, we can transfer some coins from one to another account by using account_names. ...
4
votes
1answer
1k views
How can I sync my nodeos with a Mainnet or Testnet?
I can't find in the wiki how do you sync your nodeos with a testnet or mainnet. I need this for a project I'm developing.
4
votes
2answers
2k views
How to get transactions from an account through API call
Is it possible to get the incoming and outgoing transactions from an account? according to this https://developers.eos.io/eosio-nodeos/reference link there is no way to do so. I've seen people making ...
4
votes
1answer
149 views
Retrieving from Log Storage vs. RAM
I'm quite new to EOS.
As far as I know, some of the output from smart contracts are also stored in the Log Storage.
At the same time, I can also choose to store those outputs in RAM.
My questions ...
4
votes
1answer
280 views
Table producers is not specified in the ABI {“table”:“producers”}
I'm so close. I ran ./nodeo --delete-all-blocks and it cleared up an error I was having previously and there's one command I can now run in CLEOS by myself without piggybacking off of a block ...
3
votes
1answer
107 views
Why does eos produce continuous blocks?
I am wondering about permanently producing blocks. Can someone explain why we need this ?
3
votes
1answer
602 views
how to create private network same as mainnet?
I want to build a private network same as the mainnet of eos. Just like it's mainnet I want to have 21 producers I want voting and etc. etc. how exactly I can do that can anyone list the steps for the ...
3
votes
2answers
374 views
What is a fork database?
There is a mention of a fork database in the docs for the bnet_plugin. Could you please tell me what the fork database is and how is it related to the state of the nodeos node?
3
votes
4answers
333 views
Error in eosjs account creation on localnet
I am trying to create an account using eosjs in node.js. I am using :
eos = Eos({keyProvider});
eos.transaction(tr => {
tr.newaccount({
creator: 'eosio',
name: '...
3
votes
1answer
964 views
What's the difference between bnet-endpoint and p2p-listen-endpoint in v1.0.0 config.ini?
Here are two parameters which are located in config.ini in v1.0.0
bnet-endpoint
# the endpoint upon which to listen for incoming connections (eosio::bnet_plugin)
bnet-endpoint = 0.0.0.0:4321
p2p-...
3
votes
1answer
103 views
Is there log rotation feature for nodeos?
Currently, I redirect stdout/stderr to file nohup.out. This file becomes very big after running some time, is there log rotation feature for nodeos?
3
votes
2answers
454 views
cleos create account not working on local node
I am facing a problem related to creating account on local node.
Steps followed:
nodeos running on a separate terminal.
wallet is unlocked
list keys using cleos wallet keys. It gives output as:
[
"...
3
votes
3answers
316 views
Building EOS on Ubuntu Linux Subsystem
I am having some issues running eosio_build.sh on Ubuntu 16.04 which is running on Windows 10 through the linux subsystem. It installs all the dependencies but stalls when installing the boost ...
3
votes
1answer
137 views
Can EOS be run with one node?
When I was working with Proof of Authority and Ethereum I recall there was a minimal number of nodes (which I think was two).
For PoW one node was definitely possible.
For testing can setup just ...
3
votes
1answer
24 views
Star topology possible?
I'm currently constructing multiple nodeos topology.
What I have succeeded is a chain topology like followings
nodeos1 - nodeos2 - nodeos3 - nodeos4
How can I construct a star topology in such a ...
3
votes
1answer
155 views
8000 TPS in EOS
I have created a private network of 6 nodes in which 2 nodes are block producing nodes and remaining 4 are non-block producing nodes. I have changed block time from 0.5 sec to 1 sec. I have to ...
3
votes
2answers
1k views
Error starting nodeos
I have completed the following steps so far:
git clone https://github.com/EOSIO/eos --recursive
cd eos
./eosio_build.sh -s "EOS"
cd build
sudo make install
Created genesis.json form repo
~/.local/...
3
votes
1answer
14 views
cleos push action is not working on multihost peer node
I have a setup of multinode, one genesis node and another host node inita connected to the genesis node. Nodeos is running on both hosts. Genesis node is producing blocks and inita is receiving them. ...
3
votes
2answers
460 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 ...
3
votes
1answer
49 views
EOS transactions for Future execution
There is slight confusion about creating and signing transaction which I can process/send in future date.
My understanding is that to create a transaction, it must have following attributes values ...
3
votes
1answer
243 views
how to solve Error Details: Cannot charge RAM to other accounts during notify on testnet
I need help for an issue developing an EOS dapp.
I want to call a contract function when someone transfer EOS to my contract. For this i used the apply method to call the function upon any transfer ...
3
votes
3answers
362 views
How to pack transaction without cleos?
So the new API only accepts a packed_trx but there is no RPC call to pack a signed transaction.
How can it be done on system without cleos installed? Is there any implementation in pure Python, ...
3
votes
1answer
350 views
Database has reached an unsafe level of usage
I am getting "Database has reached an unsafe level of usage, shutting down to avoid corrupting the database. Please increase the value set for "chain-state-db-size-mb" and restart the process!" error....
3
votes
1answer
185 views
How can I send information to an account without transferring EOS?
When I use bloks.io or eosflare.io, I see that I have some contracts leaving information in my account without it being part of a memo from a transfer. How is it possible to send messages in this way?
3
votes
1answer
622 views
how to start a non producing block and connect to block producer?
I have an application which requires to perform many transactions and I want some non block producing node to connect the BP nodes? I want to start non-producing blocks and connect to block producing ...
3
votes
1answer
462 views
unable to find plugin: eosio::wallet_api_plugin
I have just configure EOS reading this article. Now when I run the command
./nodeos -e -p eosio --plugin eosio::wallet_api_plugin --plugin eosio::chain_api_plugin --plugin eosio::...
3
votes
1answer
130 views
How to use nodeos command when deploying via Docker?
I am able to run cleos from my command line after following basic setup instructions to launch a private testnet, including setting an alias:
alias cleos='docker exec -it eosio /opt/eosio/bin/cleos -...
3
votes
1answer
216 views
How to add plugins to nodeos when Docker is used?
I have used docker to install EOS and to run nodeos. Here are the containers -
docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS ...
3
votes
1answer
90 views
How many peers should I connect for a node?
How many peers should we connect for a single node?
If we connect to many node, will the network be very high and decrease the sync speed?
Or if we only need to connect to 2-3 nodes which may lose ...
3
votes
1answer
457 views
STD Exception encountered while processing chain.get_account when requesting get_account
I'm trying to get account info by posting to /v1/chain/get_account
But I'm getting the following error:
STD Exception encountered while processing chain.get_account
Exception Details: unknown key
...
3
votes
2answers
406 views
How to implement the equivalent of EOSJS in Android?
I have the following code running. It enable eosjs functionality using http. Is there an equivalent so that I can access the testnet nodes from an Android app?
<html>
<head>
<meta ...
3
votes
1answer
257 views
If possible we can know the historic price for EOS ram from block?
is there exist a table so that we can know historic price from EOS mainnet?
Or if we want to know the price of EOS Ram on specific time, which data we can get from EOS mainnet?
I know https://eos....
3
votes
1answer
134 views
Can we upload contracts to testnet or mainnet without being fully synced?
From an enterprise developer's POV I'm hoping the blockchain will one day be as easy to query, and write contracts for as it is for me to connect to a db through a database ide such as SSMS (SQL ...