-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Instead of manually advancing the rounds in our tests what if we had this type of structure
net := createNetwork(nodes)
net.run() // this runs in the background triggering the block builder every 50ms
// network actions such as
// net.changeMessageFilter
// net.disconnectNode
// ex.
net.waitRounds(50) // waits for approximately 50 rounds to progress
net.disconnect(nodes[0])
net.waitRounds(50) // another 50 rounds
net.connect(nodes[0])
net.crashAndRecover(nodes[0])
net.waitRounds(50)
net.Stop() // stop can also ensure consistency across nodes Storagejust a thought, wanted to note the idea down before i forget it.
Metadata
Metadata
Assignees
Labels
No labels