Documentation ¶
Index ¶
- func GetMessagesInTipset(height uint) ([]api.Message, error)
- type Actor
- type BlockHeader
- type DB
- type Database
- type Message
- type MessageConfirmed
- func (t *MessageConfirmed) Get(id string, height *int) (*lily.GasOutputs, *lily.ParsedMessage, error)
- func (t *MessageConfirmed) GetMaxHeight() (int, error)
- func (t *MessageConfirmed) Init(cache *ristretto.Cache) error
- func (t *MessageConfirmed) List(address *string, limit *int, offset *int) ([]derived.GasOutputs, error)
- func (t *MessageConfirmed) Search(address *model.Address, limit int, offset int) ([]derived.GasOutputs, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockHeader ¶
type BlockHeader struct {
// contains filtered or unexported fields
}
func (*BlockHeader) GetByMessage ¶
func (t *BlockHeader) GetByMessage(height int64, id string) (*blocks.BlockHeader, error)
func (*BlockHeader) List ¶
func (t *BlockHeader) List(address *string, limit *int, offset *int) ([]blocks.BlockHeader, error)
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func GetInstanceDB ¶
func GetInstanceDB() *DB
type Database ¶
type Database struct {
Db *pg.DB
}
func (*Database) ConnString ¶
func (t *Database) ConnString(host string, port int, user string, password string, dbName string, searchPath string) string
ConnString returns a connection string based on the parameters it's given This would normally also contain the password, however we're not using one
type MessageConfirmed ¶
type MessageConfirmed struct {
// contains filtered or unexported fields
}
func (*MessageConfirmed) Get ¶
func (t *MessageConfirmed) Get(id string, height *int) (*lily.GasOutputs, *lily.ParsedMessage, error)
func (*MessageConfirmed) GetMaxHeight ¶
func (t *MessageConfirmed) GetMaxHeight() (int, error)
func (*MessageConfirmed) List ¶
func (t *MessageConfirmed) List(address *string, limit *int, offset *int) ([]derived.GasOutputs, error)
func (*MessageConfirmed) Search ¶
func (t *MessageConfirmed) Search(address *model.Address, limit int, offset int) ([]derived.GasOutputs, error)
Click to show internal directories.
Click to hide internal directories.