contractcourt: add new briefcase.go file to house persistent arbitrator state

In this commit, we add a new file: briefcase.go. The contents of this
file are the ArbitratorLog. This log will be used by the internal state
machine of each Channel Arbitrator to ensure that each state transition
is fully reflected on-disk, to ensure that the state machine is durable
and able to survive restarts.

This commit also adds a new implementation of the ArbitratorLog
interface backed by boltdb.
This commit is contained in:
Olaoluwa Osuntokun committed 2018-01-22 19:19:35 -08:00
1 parent b4fc34a93a
commit 701eb9d4f4
2 files changed
+1846

No files matched your search

File diff suppressed because it is too large. Load diff