XinFin XDC Network full node vs. archive node

  • Archive nodes — Has data since genesis block.
  • Full nodes — Receive copies of transactions. Has the current state of the blockchain. full node, useful for low memory and computational devices.
  • Masternodes — Masternodes verify transactions and add them to the blocks. They then mine those blocks and secure the blockchain with XinFin Delegated Proof of Stake
$ curl — data ‘{“method”:”eth_getBalance”,”params”:[“xdce5Fb31A5CaEE6a96de393bdBF89FBe65fe125Bb3”, “0x1”],”id”:1,”jsonrpc”:”2.0"}’ -H “Content-Type: application/json” -X POST QUICKNODE_WITH_ARCHIVE_ADD_ON
{“id” : 1,“rpc” : “2.0”,“result” : “0x3635c9adc5dea00000”}
$ curl — data ‘{“method”:”eth_getBalance”,”params”:[“xdce5Fb31A5CaEE6a96de393bdBF89FBe65fe125Bb3”, “0x1”],”id”:1,”jsonrpc”:”2.0"}’ -H “Content-Type: application/json” -X POST QUICKNODE_WITHOUT_ARCHIVE_ADD_ON
{“error” : {“code” : -32000,“message” : “missing trie node d67e4d450343046425ae4271474353857ab860dbc0a1dde64b41b5cd3a532bf3 (path )”},“id” : 1,“rpc” : “2.0”}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store