Cevat
Cevat
So , i look around and still can'not found any implementation. i implemented myself , first i am opening tcp socket and listening. and then parsing manually modbus tcp packet...
i figured out several things but still have too much error. when i write: cevat@cevat-MS-7970:~/darknet_orj/darknet-cpp-wrapper/example$ g++ main.cpp -I../wrapper/ just a lot of error.
hi. i am using rs232 interface with rs485 converter ic and i need to down rts pin. do you know how i can do this with jSerialComm library and why...
/opt/etl$ chifra status --chain mainnet WARN[05-03|22:05:29.995] the --call value provided (manifestHashMap(0x0, "mainnet-ts")) was not found: abi not found for manifestHashMap(0x0, "mainnet-ts"): abi not found 05-03|22:05:30.050 Client: erigon/2.49.1/linux-amd64/go1.19.13 (archive, tracing) 05-03|22:05:30.050...
$erigon --datadir=./ethereum_erigon --chain=mainnet --http.api=engine,eth,erigon,web3,trace,net,debug
/opt$ curl -X POST -H "Content-Type: application/json" --data '{ "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": [ "0xc", true ], "id": 1 }' "http://localhost:8545" {"jsonrpc":"2.0","id":1,"result":{"difficulty":"0x3ffffa000","extraData":"0x476574682f76312e302e302f6c696e75782f676f312e342e32","gasLimit":"0x1388","gasUsed":"0x0","hash":"0xc63f666315fa1eae17e354fab532aeeecf549be93e358737d0648f50d57083a0","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","miner":"0x0193d941b50d91be6567c7ee1c0fe7af498b4137","mixHash":"0xbe4ba21fe1ecb061e44f178428c772d2a0f59a7aafb5ed4e198eba4df3656e52","nonce":"0x5f6a5cc5c36e6627","number":"0xc","parentHash":"0x3f5e756c3efcb93099361b7ddd0dabfeaa592439437c1c836e443ccb81e93242","receiptsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x219","stateRoot":"0x821c41f30a2fd9580605363784a8a2a6575b255ec37cacf87fe52715b8828d8e","timestamp":"0x55ba42c0","totalDifficulty":"0x33f2ffe033","transactions":[],"transactionsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","uncles":[]}} i am not completly sure it worked...
Okay, it seems after eth merge, i also need to run consensus layer client as well. i am trying it with erigon internal consensus layer client. i am seeing different...
/opt/etl$ curl -X POST -H "Content-Type: application/json" --data '{ "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": [ "0xc", true ], "id": 1 }' "http://localhost:8545" {"jsonrpc":"2.0","id":1,"result":{"difficulty":"0x3ffffa000","extraData":"0x476574682f76312e302e302f6c696e75782f676f312e342e32","gasLimit":"0x1388","gasUsed":"0x0","hash":"0xc63f666315fa1eae17e354fab532aeeecf549be93e358737d0648f50d57083a0","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","miner":"0x0193d941b50d91be6567c7ee1c0fe7af498b4137","mixHash":"0xbe4ba21fe1ecb061e44f178428c772d2a0f59a7aafb5ed4e198eba4df3656e52","nonce":"0x5f6a5cc5c36e6627","number":"0xc","parentHash":"0x3f5e756c3efcb93099361b7ddd0dabfeaa592439437c1c836e443ccb81e93242","receiptsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x219","stateRoot":"0x821c41f30a2fd9580605363784a8a2a6575b255ec37cacf87fe52715b8828d8e","timestamp":"0x55ba42c0","totalDifficulty":"0x33f2ffe033","transactions":[],"transactionsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","uncles":[]}} opt/etl$ chifra status --chain mainnet WARN[08-03|16:00:55.353] the...
/opt/etl$ chifra init --all INFO[09-03|11:05:55.803] Chain: mainnet INFO[09-03|11:05:55.803] Database: mainnet-ts INFO[09-03|11:05:55.803] Gateway: https://ipfs.unchainedindex.io/ipfs/ INFO[09-03|11:05:55.803] URL: https://ipfs.unchainedindex.io/ipfs/QmVXxiYH7P2qJjcPXQtUVWPrP2d1jJWiRjwVq2DNtBGTtu INFO[09-03|11:05:55.803] CID: QmVXxiYH7P2qJjcPXQtUVWPrP2d1jJWiRjwVq2DNtBGTtu INFO[09-03|11:05:55.803] Downloading database mainnet-ts (QmVXxiYH7P2qJjcPXQtUVWPrP2d1jJWiRjwVq2DNtBGTtu). This may take a moment... INFO[09-03|11:05:57.536]...
EROR[09-03|11:08:56.988] write to disc error [error copying 018395287-018398277 file in writeBytesToDisc: [stream error: stream ID 153; INTERNAL_ERROR; received from peer]] and EROR[09-03|13:34:23.416] write to disc error [error copying 015851886-015854901 file...