Module Sync_ledger.Any_ledger
val t_of_sexp : ( Sexplib0__.Sexp.t -> 'a ) -> Sexplib0__.Sexp.t -> 'a t
val sexp_of_t : ( 'a -> Sexplib0__.Sexp.t ) -> 'a t -> Sexplib0__.Sexp.t
val answer_writer :
'a t ->
(Snark_params.Tick.Field.t
* Mina_ledger__Ledger.Location.Addr.t Syncable_ledger.Query.t
* ( Snark_params.Tick.Field.t,
( Mina_base_import.Public_key.Compressed.Stable.V1.t,
Mina_base.Token_id.Stable.V2.t,
Mina_base.Token_permissions.Stable.V1.t,
string,
Currency.Balance.Stable.V1.t,
Mina_numbers.Account_nonce.Stable.V1.t,
Mina_base.Receipt.Chain_hash.Stable.V1.t,
Mina_base_import.Public_key.Compressed.Stable.V1.t option,
Mina_base.State_hash.Stable.V1.t,
Mina_base.Account_timing.Stable.V1.t,
Mina_base.Permissions.Stable.V2.t,
Mina_base.Zkapp_account.Stable.V2.t option )
Mina_base__Account.Poly.Stable.V2.t )
Syncable_ledger.Answer.t
Network_peer.Envelope.Incoming.t)
Pipe_lib.Linear_pipe.Writer.t
val destroy : 'a t -> unit
val peek_valid_tree : 'a t -> Mina_ledger__Ledger.Any_ledger.witness option
val valid_tree :
'a t ->
(Mina_ledger__Ledger.Any_ledger.witness * 'a) Async_kernel.Deferred.t
val apply_or_queue_diff : 'a t -> diff -> unit
val get_account_at_addr :
'a t ->
Mina_ledger__Ledger.Location.Addr.t ->
( Mina_base_import.Public_key.Compressed.Stable.V1.t,
Mina_base.Token_id.Stable.V2.t,
Mina_base.Token_permissions.Stable.V1.t,
string,
Currency.Balance.Stable.V1.t,
Mina_numbers.Account_nonce.Stable.V1.t,
Mina_base.Receipt.Chain_hash.Stable.V1.t,
Mina_base_import.Public_key.Compressed.Stable.V1.t option,
Mina_base.State_hash.Stable.V1.t,
Mina_base.Account_timing.Stable.V1.t,
Mina_base.Permissions.Stable.V2.t,
Mina_base.Zkapp_account.Stable.V2.t option )
Mina_base__Account.Poly.Stable.V2.t
Core_kernel.Or_error.t