Developers Forum for XinFin XDC Network

Discussion on: [WIP] How can I get the list of 108 masternodes using RPC call.

Collapse
gzliudan profile image
Daniel Liu

Please wait a few days until PR #294 is applied on xinfin network.

Collapse
david profile image
David Author

Thank you Daniel, do we have any ETA on when can we expect the PR to be merged, as I want to use this feature in one of the applications that I am building.

Collapse
gzliudan profile image
Daniel Liu

I'm not sure about the time. If you are in a hurry, you can use the latest code to build an RPC node for test.

Thread Thread
david profile image
David Author

Sorry, but can you help me with the steps to build the code from the PR that you have raised, I have never built the code to run a node. I have used docker or LocalDPOS steps mentioned in the XinFin-Node repos.

Thread Thread
gzliudan profile image
Daniel Liu • Edited on

For the github.com/XinFinOrg/XinFin-Node/ and xinfin network, you can modify the file github.com/XinFinOrg/XinFin-Node/b..., change the below line:

    (cd xdcchain && git checkout --detach 433c202a55a7ffd740f993a2e8799efe6797234a && make)
Enter fullscreen mode Exit fullscreen mode

to:

    (cd xdcchain && make)
Enter fullscreen mode Exit fullscreen mode
Thread Thread
david profile image
David Author

Hello, do I need to setup an archive node for this? I have setup a node using the steps that you gave, when I try to get the details using eth_getCandidates I keep on getting missing trie Node.