ether-camp / ethereum-harmony

DEPRECATED! Ethereum Independent Peer
GNU General Public License v3.0
253 stars 89 forks source link

Fastsync and skipHistory settings are merged when running private network #81

Closed zilm13 closed 6 years ago

zilm13 commented 6 years ago

Example:

# merge of /data/app/2/ethereum-harmony/src/main/resources/private.conf: 54,user.conf: 22-25,ethereumj.conf: 265
sync {
    # /data/app/2/ethereum-harmony/src/main/resources/private.conf: 54
    enabled=true
    # ethereumj.conf: 307
    exitOnBlockConflict=false
    # merge of user.conf: 22-25,ethereumj.conf: 272
    fast {
        # ethereumj.conf: 285
        backupState=false
        # user.conf: 22
        enabled=true
        # user.conf: 25
        skipHistory=true
    }

So user gets not full node and stalls on sync from this node. We need to fix it, so skipHistory and fastsync will be turned on only on Mainnet and Ropsten by default.

zilm13 commented 6 years ago

fixed with https://github.com/ether-camp/ethereum-harmony/commit/1d9f8f4fa61b31fe1d937b686d0be34279d991ed