Documentation
¶
Index ¶
- func GetSessionEndHeightWithDefaultParams(queryHeight int64) int64
- func GetSessionIdWithDefaultParams(appPubKey, serviceId string, blockHashBz []byte, blockHeight int64) (sessionId string, sessionIdBz []byte)
- func GetSessionNumberWithDefaultParams(queryHeight int64) int64
- func GetSessionStartHeightWithDefaultParams(queryHeight int64) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSessionEndHeightWithDefaultParams ¶
GetSessionEndHeightWithDefaultParams returns the block height at which the session containing queryHeight ends, given the default shared onchain parameters. See shared.GetSessionEndHeight for more details.
func GetSessionIdWithDefaultParams ¶
func GetSessionIdWithDefaultParams( appPubKey, serviceId string, blockHashBz []byte, blockHeight int64, ) (sessionId string, sessionIdBz []byte)
GetSessionIdWithDefaultParams returns the string and bytes representation of the sessionId for the session containing blockHeight, given the default shared onchain parameters, application public key, service ID, and block hash.
func GetSessionNumberWithDefaultParams ¶
GetSessionNumberWithDefaultParams returns the session number of the session containing queryHeight, given the default onchain shared parameters. See shared.GetSessionNumber for more details.
func GetSessionStartHeightWithDefaultParams ¶
GetSessionStartHeightWithDefaultParams returns the block height at which the session containing queryHeight starts, given the default shared onchain parameters. See shared.GetSessionStartHeight for more details.
Types ¶
This section is empty.