Documentation ¶
Index ¶
- Constants
- func GetOnChainTrxQueue() *deque.Deque[*OnChainTrxEvent]
- type AppDb
- func (appdb *AppDb) AddMetaByTrx(blockId uint64, groupid string, trxs []*quorumpb.Trx) error
- func (appdb *AppDb) Close()
- func (appdb *AppDb) DelGroupSeed(groupID string) error
- func (appdb *AppDb) GetAllGroupSeeds() (map[string]*quorumpb.GroupSeed, error)
- func (appdb *AppDb) GetGroupContentBySenders(groupid string, senders []string, starttrx string, num int, reverse bool, ...) (trxidList []string, err error)
- func (appdb *AppDb) GetGroupSeed(groupID string) (*quorumpb.GroupSeed, error)
- func (appdb *AppDb) GetGroupStatus(groupid string, name string) (string, error)
- func (appdb *AppDb) GetSeqId(seqkey string) (uint64, error)
- func (appdb *AppDb) Rebuild(vertag string, chainDb storage.QuorumStorage) error
- func (appdb *AppDb) Release() error
- func (appdb *AppDb) SetGroupSeed(seed *quorumpb.GroupSeed) error
- type AppSync
- type OnChainTrxEvent
Constants ¶
View Source
const CNT_PREFIX string = "cnt_"
View Source
const GRP_PREFIX string = "grp_"
View Source
const SDR_PREFIX string = "sdr_"
View Source
const SED_PREFIX string = "sed_"
View Source
const SEQ_PREFIX string = "seq_"
View Source
const STATUS_PREFIX string = "stu_"
View Source
const TRX_PREFIX string = "trx_"
Variables ¶
This section is empty.
Functions ¶
func GetOnChainTrxQueue ¶
func GetOnChainTrxQueue() *deque.Deque[*OnChainTrxEvent]
Types ¶
type AppDb ¶
type AppDb struct { Db storage.QuorumStorage DataPath string // contains filtered or unexported fields }
func CreateAppDb ¶
func (*AppDb) AddMetaByTrx ¶
func (*AppDb) DelGroupSeed ¶
func (*AppDb) GetAllGroupSeeds ¶
func (*AppDb) GetGroupContentBySenders ¶
func (*AppDb) GetGroupSeed ¶
func (*AppDb) GetGroupStatus ¶
type AppSync ¶
type AppSync struct {
// contains filtered or unexported fields
}
func NewAppSyncAgent ¶
func (*AppSync) ParseBlockTrxs ¶
type OnChainTrxEvent ¶
Click to show internal directories.
Click to hide internal directories.