ergoplatform / ergo

Ergo protocol description & reference client implementation
https://ergoplatform.org/
Creative Commons Zero v1.0 Universal
498 stars 169 forks source link

Local network with two nodes and same wallet have different amount of cryptocurrency #2175

Closed swag-eag closed 1 day ago

swag-eag commented 1 month ago

I have a local ergo blockchain with two nodes:

scorex { network { magicBytes = [1, 1, 8, 1] bindAddress = "0.0.0.0:9022" nodeName = "ergo-mainnet-swa" knownPeers = [] }

restApi { bindAddress = "127.0.0.1:9122" apiKeyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf" } }

- node 2:

ergo { networkType = "mainnet" directory = "/home/emilio/ergo/ergo-mainnet-swa-1/data"

node { mining = true offlineGeneration = true useExternalMiner = false

To work with SAFEW:

extraIndex = true

}

chain { addressPrefix = 96 epochLength = 30 oneEpochReduction = 0 minerRewardDelay = 30 reemission { checkReemissionRules = true } }

wallet { checkEIP27 = true mnemonic = "maximum market scatter fancy sleep begin more awesome defense obscure allow august forget artist solve" } }

scorex { network { magicBytes = [1, 1, 8, 1] bindAddress = "0.0.0.0:9023" nodeName = "ergo-mainnet-swa-1" knownPeers = ["127.0.0.1:9022"] }

restApi { bindAddress = "127.0.0.1:9123" apiKeyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf" } }


I got rewards from mining... But the same wallet has different amounts!:
- node 1
![image](https://github.com/user-attachments/assets/e81ae0e2-0639-467e-b132-bdf759dcbe05)
- node 2:
![image](https://github.com/user-attachments/assets/5de0e4d7-62db-4fe7-b9cd-b28c97d23070)

How is it possible!

and SAFEW does not find the wallet!

I do not understant it is so difficult...

Any help is welcome
kushti commented 1 month ago

are the nodes on the same height? were rewards withdrawn to "normal" address? Any derived addresses generated ?

What does it mean "and SAFEW does not find the wallet!" ?

swag-eag commented 1 month ago

are the nodes on the same height? No (but... why not?)

Any derived addresses generated ? No, I do not what is that

What does it mean "and SAFEW does not find the wallet!" ?

SAFEW node 1: image Secret phrase: maximum market scatter fancy sleep begin more awesome defense obscure allow august forget artist solve image image

Forever!!

I really miss information to make a local blockchain work...

Regards