Network_pool.Intfmodule type Resource_pool_base_intf = sig ... endA Resource_pool_base_intf is a mutable pool of resources that supports * mutation via some Resource_pool_diff_intf. A Resource_pool_base_intf * can only be initialized, and any interaction with it must go through * its Resource_pool_diff_intf
module type Resource_pool_diff_intf = sig ... endA Resource_pool_diff_intf is a representation of a mutation to * perform on a Resource_pool_base_intf. It includes the logic for * processing this mutation and applying it to an underlying * Resource_pool_base_intf.
module type Resource_pool_intf = sig ... endA Resource_pool_intf ties together an associated pair of * Resource_pool_base_intf and Resource_pool_diff_intf.
module type Broadcast_callback = sig ... endmodule type Network_pool_base_intf = sig ... endA Network_pool_base_intf is the core implementation of a * network pool on top of a Resource_pool_intf. It wraps * some Resource_pool_intf and provides a generic interface * for interacting with the Resource_pool_intf using the * network. A Network_pool_base_intf wires the Resource_pool_intf * into the network using pipes of diffs and transition frontiers. * It also provides a way to apply new diffs and rebroadcast them * to the network if necessary.
module type Snark_resource_pool_intf = sig ... endA Snark_resource_pool_intf is a superset of a * Resource_pool_intf specifically for handling snarks.
module type Snark_pool_diff_intf = sig ... endA Snark_pool_diff_intf is the resource pool diff for * a Snark_resource_pool_intf.
module type Transaction_pool_diff_intf = sig ... endmodule type Transaction_resource_pool_intf = sig ... endmodule type Base_ledger_intf = sig ... end