Skip to content

Paxos 0.0.15

Latest
Compare
Choose a tag to compare
@bigeasy bigeasy released this 18 Nov 02:50
· 1023 commits to master since this release

It is now possible to capture Legislator events and replay them. The Legislator has always been deterministic. However, the use of an internal clock meant that there was no interface to provide time stamps during a replay. Now all methods accept a POSIX timestamp, the output of Date.now() so it is now possible to record timestamps and arguments, then replay them in order to obtain the same outcomes. You would be able to log the method calls to a Legislator and replay them.

Plus, it is easier to co-ordinate Legislator tests. The unit test for the Legislator is less complicated, more obvious.

Removed prefer from Paxos. It was used to flag certain citizens as preferred members of parliament. You won't miss it. You'll be able to move citizens into government and into the majority and into the leadership role by reshaping the government one step at a time. I'll introduce a promote action that will make these incremental changes, moving a single citizen one step up into a position of authority.

I have no use for this at the moment, so let's work on getting a release instead.