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
2018-01-16 19:38:35 -08:00
parent b4fc34a93a
commit 701eb9d4f4
2 changed files with 1846 additions and 0 deletions

1044
contractcourt/briefcase.go Normal file

File diff suppressed because it is too large Load Diff