Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapWithTimeout ¶
func WrapWithTimeout(lotusFunc LotusRPCWrapper, timeout time.Duration) error
WrapWithTimeout executes lotusFunc but return an error after the `timeout`
Types ¶
type Cache ¶
In-memory database
func (*Cache) GetActorCode ¶
func (*Cache) GetActorPubKey ¶ added in v0.801.2
type Database ¶
type Database interface { NewImpl(*api.FullNode) // Address-ActorCID Map GetActorCode(address address.Address) (cid.Cid, error) // Address-ActorPubkey Map GetActorPubKey(address address.Address, reverse bool) (string, error) // contains filtered or unexported methods }
var ActorsDB Database
type LotusRPCWrapper ¶
type LotusRPCWrapper func()
Click to show internal directories.
Click to hide internal directories.