EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.29k stars 3.6k forks source link

Unable to broadcast the transaction to the mainnet #11094

Closed defiob closed 2 years ago

defiob commented 2 years ago

I've synchronized a mainnet on my server node. And no matter what transaction I push, all broadcasts will be rollback. I tried every configuration, but it didn't work, And I change the ubuntu18 to ubuntu20,still the same problem. My config.ini file while true; do date; cleos push action -x 20 eosio.token transfer '["MY_ACCOUNT", "TO_ACCOUNT", "0.0001 EOS", "hello"]' -p MY_ACCOUNT; date; sleep 1; done Not one success

Server info:

LSB Version:    core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:    20.04
Codename:   focal

              total        used        free      shared  buff/cache   available
Mem:           31Gi       2.0Gi       338Mi       2.0Mi        28Gi        28Gi
Swap:            0B          0B          0B

      4  Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
defiob commented 2 years ago

remove the genesis-json config and add new p2p-peer-address, problem solving my final config

wasm-runtime = eos-vm-jit
chain-state-db-size-mb = 32768
#database-map-mode = heap
reversible-blocks-db-size-mb = 2048
http-max-response-time-ms = 300
read-mode = head
p2p-accept-transactions = false
disable-api-persisted-trx = true
http-validate-host = false
p2p-max-nodes-per-host = 2
agent-name = nodename
max-clients = 0
net-threads = 5
http-threads = 8
verbose-http-errors = false
abi-serializer-max-time-ms = 2000
http-server-address = 0.0.0.0:8888
enable-account-queries = true
blocks-log-stride = 10000
max-retained-block-files = 50
blocks-archive-dir = ""

plugin = eosio::http_plugin
plugin = eosio::chain_api_plugin
plugin = eosio::net_api_plugin
plugin = eosio::producer_api_plugin