-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15141 from MinaProtocol/rb/merkle_ledger_intf
Refactoring `Merkle_ledger`
- Loading branch information
Showing
33 changed files
with
626 additions
and
467 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Make_base (Inputs : Intf.Inputs.Intf) : | ||
Intf.Ledger.ANY | ||
with module Location = Inputs.Location | ||
with type key := Inputs.Key.t | ||
and type token_id := Inputs.Token_id.t | ||
and type token_id_set := Inputs.Token_id.Set.t | ||
and type account_id := Inputs.Account_id.t | ||
and type hash := Inputs.Hash.t | ||
and type account_id_set := Inputs.Account_id.Set.t | ||
and type account := Inputs.Account.t |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module Make (Inputs : Intf.Inputs.DATABASE) : | ||
Intf.Ledger.DATABASE | ||
with module Location = Inputs.Location | ||
and module Addr = Inputs.Location.Addr | ||
and type key := Inputs.Key.t | ||
and type token_id := Inputs.Token_id.t | ||
and type token_id_set := Inputs.Token_id.Set.t | ||
and type account := Inputs.Account.t | ||
and type root_hash := Inputs.Hash.t | ||
and type hash := Inputs.Hash.t | ||
and type account_id := Inputs.Account_id.t | ||
and type account_id_set := Inputs.Account_id.Set.t |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.