stellar-deprecated / stellard

INACTIVE. Server in the Stellar network. Maintains the distributed ledger. Introduces and validates transactions. This repo is not in active development, it is being replaced by stellar-core.
Other
271 stars 60 forks source link

Move to one validator #184

Closed MonsieurNicolas closed 9 years ago

MonsieurNicolas commented 9 years ago

changes to move to one validator

The consensus changes were necessary as peers even when not participating in consensus may decide to close their open ledger which causes them to be out of sync with the validator. This change forces all peers (a subset, really) to tag along as part of consensus.

This also slows down the network enough for large/remote nodes to sync. We will adjust timings as we gather more data from production.

MonsieurNicolas commented 9 years ago

added initial legacy_consensus.txt (before any other changes) to make it simpler to follow the flow of changes

MonsieurNicolas commented 9 years ago

gFORCE_CLOSE is not sticky: it gets cleared in the consensus stage (was clearing too early before, which explains why it didn't work in the first place from what I remember).

MonsieurNicolas commented 9 years ago

merging manually into master (robot didn't pick up the r+ for some reason)