v2.3.0-RC1
Pre-release
Pre-release
What's Changed
- removed return by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/226
- Heartbeat monitor: leader role by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/227
- Heartbeat monitor: handler in constructor by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/228
- Cleanup - remove redundant UT by @C0rWin in https://github.com/SmartBFT-Go/consensus/pull/229
- persist prepare into WAL by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/231
- Persist prepare signatures into WAL by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/232
- Add restarts to nodes by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/233
- Added Mute/Unmute for nodes by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/234
- Restart node with metadata committed by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/235
- Remove eventually submit UT by @C0rWin in https://github.com/SmartBFT-Go/consensus/pull/236
- change SignedViewData message by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/237
- Move helper structs from view.go to util.go by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/239
- simple view changer by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/238
- Heartbeat monitor: follower role by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/240
- more to view change by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/243
- Add Disconnect and Connect by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/245
- more to view changer by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/244
- only restart 1 node at a time by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/246
- change start of view changer by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/247
- Store checkpoint and in-flight proposal by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/248
- Unit tests for state by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/249
- Restore prepares from WAL by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/250
- Hearbeats to use logical clock by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/251
- start view changer from consensus by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/252
- basic view change test by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/253
- Print test name in tests by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/255
- add node ID to log by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/256
- HandleMessage is memory coherent with view changes by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/257
- use static set of nodes in controller by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/254
- Only close batcher if I'm leader by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/258
- start view inside lock by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/259
- change RequestTimeout in consensus by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/261
- initialize last heartbeat if zero by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/260
- Dynamically compute N from Nodes() at Start() by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/262
- test multi view change by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/263
- move naive chain request forwarding test to test framework by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/264
- insert data to msg in view changer by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/265
- Update goimports by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/267
- typo by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/266
- handle last decision in view data by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/268
- some fixes to view changer by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/269
- node catch up with view change by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/271
- kill process with SIGABRT if taking too long by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/273
- add same fix to another view change test by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/274
- use real sequence in naive chain by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/275
- don't include in flight if there is none by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/276
- validate in flight proposal during view change by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/277
- add colors and git log -1 by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/280
- Scheduler implementation by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/278
- fix kaomoji by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/284
- test validate last decision by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/283
- stop signing in prepares by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/285
- Check source node is disconnected when sending by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/287
- Shutdown nodes at end of tests by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/288
- remove unused code by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/289
- Sync support by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/286
- Address CR comments by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/291
- Connect wal to test by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/290
- Abort Delivery if controller stopped by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/293
- Sync improvements by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/292
- fix controller close by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/296
- WAL Open & ReadAll utility by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/295
- view changer resend timeout by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/297
- Explain what signing the proposal means by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/299
- abort changing role when heartbeat monitor stopped by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/302
- add timeout and inform to view changer by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/301
- controller informs view changer on sync by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/303
- Abort deliver when stopped naive chain by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/306
- Ignore heartbeats from leaders far ahead by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/305
- Config: a list of parameters by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/311
- add view change tests by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/315
- Config object integration by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/314
- ignore old complains by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/318
- Stop batcher when syncing by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/324
- implement Stringer to message by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/323
- In-Msg-Q size config in view-changer by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/328
- blocking sync in view changer by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/326
- sync return full decision by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/329
- inform view changer after sync by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/333
- cleanup TODOs by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/334
- lock after stop by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/336
- inform view changer also with equal view by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/343
- New view restore by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/344
- View change with in flight proposal by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/347
- new view in WAL by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/346
- Batcher respect message count & size bytes by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/345
- Improve log messages, tests by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/348
- view change message in WAL by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/349
- address comments about restore view change by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/352
- view change timeout backoff by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/353
- MaybePruneRevokedRequests upon delivery in view change by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/355
- Warnf --> Debugf by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/357
- slow down tests and resend view change by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/360
- state transfer on sync by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/358
- Tune request pool logging by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/361
- state transfer test and fix by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/362
- make tests more robust by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/363
- Don't print proposal in controller by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/364
- avoid view change storm by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/365
- remove prepare signature from protos by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/368
- lock srcNode when reading its peerLossProbability by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/373
- lock only node handler in serve by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/372
- Leader nacks after review by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/367
- prune after sync by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/376
- notify on request submit by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/377
- Pool size bytes by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/378
- sync on future heartbeats by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/379
- fix some golint issues by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/382
- typo in the network test file name by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/384
- fix some more golint issues by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/383
- allow submit of new requests when stopped timers by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/381
- golint test by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/385
- simplify example by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/387
- cache nodes at consensus by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/388
- move broadcast and sorting by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/389
- in ProcessMsg listen to stop by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/391
- add HeartbeatWasSent by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/390
- heartbeat from view messages by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/392
- document dependencies by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/394
- remove remainder by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/395
- remove error message by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/396
- sync on controller start by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/393
- node id not 0 by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/397
- validate config on start by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/398
- join view change after quorum by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/399
- more golint by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/401
- mutating send function in test by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/402
- Config streamline by @tock-ibm in https://github.com/SmartBFT-Go/consensus/pull/404
- add a gradual test starting from 1 node by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/405
- generate godoc by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/406
- remove godoc files by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/407
- call abort view only after controller starts by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/408
- sync when follower is behind by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/410
- fix test by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/412
- fix test by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/414
- move config by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/415
- refactor by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/416
- increase runtime to 90s by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/418
- reconfig on deliver by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/417
- don't print view data messages (#422) by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/423
- Updated by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/430
- don't send view data to self (#428) by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/431
- reconfig and view change by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/432
- requests from proposal by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/433
- update dependencies and protobufs, adjust UTs by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/435
- change view even when sync fails by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/436
- fix up controller test nodes by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/438
- update request timeout handler on reconfig (#440) by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/441
- fix protobuf incorrect destination folder compilation by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/442
- Handle return status of proto.Marshal by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/446
- Basic leader rotation by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/445
- blacklist failed nodes and prevent them from becoming leaders by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/448
- Move bindCommitSignaturesToProposal to controller by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/449
- Consolidate get metadata by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/450
- Fix bugs by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/451
- Do not blacklist current leader by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/452
- create Github actions build by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/456
- get leader id by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/453
- Remove travis and set test time to 10min max by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/457
- Export request pool by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/459
- always verify prev commit sigs by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/458
- Filter out unexpected nodes by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/460
- remove redundant variable by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/461
- Refuse SubmitRequest if no leader is known by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/462
- Stop consensus if evicted from membership by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/463
- Load blacklist correctly in GetMetadata by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/464
- membership change by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/465
- verify membership change by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/466
- test view change with less nodes by @HagarMeir in https://github.com/SmartBFT-Go/consensus/pull/467
- Make v2 branch to have only module, and preserve git commit history by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/469
- Re-order leader forward logic by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/470
- Fix MembershipNotifier nil pointer panic by @muzykantov in https://github.com/SmartBFT-Go/consensus/pull/471
- Fail fast if request already exists in pool by @yacovm in https://github.com/SmartBFT-Go/consensus/pull/472
- Add configuration to control request pool parameters by @C0rWin in https://github.com/SmartBFT-Go/consensus/pull/474
Full Changelog: SmartBFT-Go/consensus@0.1...v2.3.0-RC1