Ethereum net status - blockchain

I couldn't see my transactions on eth-netstats graph for my private network. Its listing out all other details like below. What am I missing, any pointers would be greatly appreciated.
I am running the application in:
- Node: 4.6.0
- NPM: 3.10.7
Geth command used to start the server:
geth --identity "nodeB" --rpc --rpcaddr "0.0.0.0" --rpcport "8001" --rpccorsdomain "*" --datadir "/home/node_b" --port "30304" --ipcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --rpcapi "db,eth,net,web3" --autodag --networkid 1900 --nat "any" console

Its resolved. The eth-netstats was not getting data from the eth-netstats intelligent api, restarting the eth-netstats-api resolved the issue.

Related

Geth node accounts balances and contracts reset to 0 after 30,000 Blocks in POA private network

This is my geth node script
geth --datadir /root/data/data/ --networkid 1567134 --bootnodes enode://44a383ff2c8a78da1131ac82a4513b34de177103017f07c42098c53aad43bc3fd99f62d72d827349eb503f0054fec7683a7db36fc65f9d1238950f70bc4dba97#0.0.0.0:0?discport=8545 --cache=4096 --syncmode=full --gcmode=archive --http --http.addr "0.0.0.0" --ws --ws.addr "0.0.0.0" --ws.port "8546" --allow-insecure-unlock --ws.origins "*" --http --allow-insecure-unlock --http.corsdomain "*" --http.vhosts "*" --http.api "db, eth, net, web3, personal" --http.port "8545" --nodiscover --unlock 0xF122afAf3BEdae6E062Aa18e892ed8c0C9****** --password /root/data/pass.txt --mine --miner.threads 2
run my geth node yesterday and it reached 22,000 blocks yesterday. And then I open and check my node today, data was reset including balances, contracts and blocks now it 6,000.
Is there any problems related to this that already solved? I been running geth for almost 1 month and I encountered the same problem. balances and always gone and blocks are reset.
NOTE:IM RUNNING THIS GETH NODE USING VPS UBUNTU OS & THIS IS FOR PRIVATE BLOCKCHAIN NETWORK

Remix provider connectivity issue with custom RPC

I have setup Ethereum private site chain using geth with the following nodes and each node is running on a separate machine on aws.
abc.122.41.xyz admin(node1)
abc.73.38.xyz peer(node2)
abc.125.123.xyz RPC(node3)
This setup is working fine with these parameters in geth.
--http.vhosts '*'--http.corsdomain '*'
But, I want to restrict access to specific sites to use this RPC like REMIX and etc. Now, I run the below command in this way to restrict access and I read it from REMIX official site to pass parameters in this way. But, Remix is not going to connect to the RPC and throw this error.
Error while connecting to the provider, provider not connected
geth --datadir node01 --networkid 4444 --nat extip:xyz.31.2.xyz --port 30303 --mine --miner.gasprice 1000000 --miner.etherbase=0x35ef1cb0552cEfDEDc9cF1DA19199071274094Ab --keystore key01 --ethstats node01:s3cr3t#stats-localhost.batterychain.info:3000
geth --datadir node02 --networkid 4444 --port 30303 --mine --miner.gasprice 1000000 --keystore key02/ --ethstats Geth/v1.10.20-stable-8f2416a8/linux-amd64/go1.18.1:s3cr3t#stats-localhost.batterychain.info:3000
geth --datadir node03 --networkid 4444 --port 30303 --mine --miner.gasprice 1000000 --http --http.corsdomain 'https://remix.ethereum.org' --http.addr 0.0.0.0 --http.api personal,eth,net,web3 --keystore key03/ --ethstats Geth/v1.10.20-stable-8f2416a8/linux-amd64/go1.18.1:s3cr3t#stats-localhost.batterychain.info:3000
I try to explore this issue on the internet and found some solutions like changing the order of parameters, and also passing REMIX with HTTP instead of HTTPS like
http://remix.ethereum.org
But, each time I face the above same error.

geth eth_protocolVersion is returning error : "the method eth_protocolVersion does not exist/is not available"

i am using stable geth.
geth
version Geth Version: 1.10.7-stable
Architecture: amd64
Go Version: go1.16.6
Operating System: darwin
GOPATH= GOROOT=go
i am having issues with calling the eth_protocolVersion :
postman error ==> "error": {
"code": -32601,
"message": "the method eth_protocolVersion does not exist/is not available"
}
i attached the geth console and printed all eth functions, where i am getting "protocolVersion: undefined"
i tried with building the geth of current master branch, getting the same issues.
INIT genesis file by :
geth --identity "dappslab" --http --http.addr 0.0.0.0 --http.port 8545 --http.corsdomain "*" --http.api txpool,admin,eth,net,web3,personal --ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.origins "*" --ws.api txpool,admin,eth,net,web3,personal --graphql --graphql.corsdomain "*" --datadir /Users/$(whoami)/DappsChain/node1 --port 30303 --networkid 13936 init /Users/$(whoami)/DappsChain/Genesis.json
running geth by :
geth --identity "dappslab" --syncmode full --http --http.addr 0.0.0.0 --http.port 8545 --http.corsdomain "*" --http.api miner,txpool,admin,eth,net,web3,personal --ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.origins "*" --ws.api miner,txpool,admin,eth,net,web3,personal --graphql --graphql.corsdomain "*" --datadir /Users/$(whoami)/DappsChain/node1 --port 30303 console
I have googled this issue but i can't find any solution for this.
Am i doing this wrong or the geth have bug or removed this function?
The method was removed in Geth v1.10. See their blog post where the mention it.
Note, the eth_protocolVersion API call is gone as it made no sense. If you have a very good reason as to why it’s needed, please reach out to discuss it.

geth private network is which type of node?

I'm new to blockchain, I have setup on private node using geth.
Now I want to know, which kind of chain it is called PoA based chain or PoW?
below is my command to start private node:
geth --nodiscover --networkid 1111 --datadir node1 --unlock ADD --rpccorsdomain="" --mine --rpc --rpcapi "admin,debug,eth,miner,net,personal,txpool,web3,clique" --nousb --rpc --rpcaddr 0.0.0.0 --ws.api "eth,net,web3,debug,txpool" --ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.origins "" --syncmode=full --gcmode=archive --rpcvhosts=* --allow-insecure-unlock console
It depends on your genesis.json config, not on the CLI params.
You're using Proof of Authority (PoA) if you have the clique defined in the config. If you don't have it, you're using Proof of Work (PoW).
For more info, see "Clique Example" in the docs.

What does PRIVATE_CONFIG=tm.ipc mean and how to generate tm.ipc file?

i have tried the below command using PRIVATE_CONFIG=ignore.Can anyone help me to find some explanation regarding how tm.ipc is generated and what is its use
PRIVATE_CONFIG=tm.ipc nohup geth --datadir new-node-1 --nodiscover --verbosity 5 --networkid 31337 --raft --raftport 50000 --rpc --rpcaddr 0.0.0.0 --rpcport 22000 --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft --emitcheckpoints --port 21000 2>>node.log &
The tm.ipc socket file is created by the transaction manager (Constellation or Tessera).
It's used by Quorum to communicate with the transaction manager for private transactions and Quorum expects PRIVATE_CONFIG to specify the location of the sokcet file.
If you are only interested in public transactions then you don't need a transaction manager, hence the PRIVATE_CONFIG=ignore setting.
Documentation for this can be found here