-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated coordinator pipeline and batch initialization
- Loading branch information
Showing
8 changed files
with
897 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,4 +60,4 @@ jobs: | |
PGUSER: "postgres" | ||
PGPASSWORD: "postgres" | ||
PGDATABASE: "statedb" | ||
CI: true | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
package common | ||
|
||
// AtomicGroup represents a set of atomic transactions | ||
type AtomicGroup struct { | ||
ID AtomicGroupID `json:"atomicGroupId"` | ||
Txs []PoolL2Tx `json:"transactions"` | ||
} | ||
|
||
// AtomicGroupIDLen is the length of a Hermez network atomic group | ||
const AtomicGroupIDLen = 32 | ||
|
||
// AtomicGroupID is the identifier of a Hermez network atomic group | ||
type AtomicGroupID [AtomicGroupIDLen]byte | ||
|
||
// EmptyAtomicGroupID represents an empty Hermez network atomic group identifier | ||
var EmptyAtomicGroupID = AtomicGroupID([32]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | ||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.