Documentation
¶
Index ¶
- Constants
- func PortalServer(ctx context.Context, clientCtx client.Context, txFactory tx.Factory, ...)
- func SendVoteCommitment(voteID string, vote *voteData)
- func SendVoteReveal(voteID string, vote *voteData)
- func Server(ctx context.Context, clientCtx client.Context, txFactory tx.Factory, ...)
- func TestClient(ctx context.Context, txFactory tx.Factory, clientCtx client.Context, ...)
- type RelaySession
- type UserSessions
- type UserSessionsEpochData
Constants ¶
View Source
const ( RETRY_INCORRECT_SEQUENCE = 5 TimeWaitInitializeChainSentry = 10 RetryInitAttempts = 10 )
Variables ¶
This section is empty.
Functions ¶
func PortalServer ¶
func SendVoteCommitment ¶
func SendVoteCommitment(voteID string, vote *voteData)
func SendVoteReveal ¶
func SendVoteReveal(voteID string, vote *voteData)
Types ¶
type RelaySession ¶
type RelaySession struct {
CuSum uint64
UniqueIdentifier uint64
Lock utils.LavaMutex
Proof *pairingtypes.RelayRequest // saves last relay request of a session as proof
RelayNum uint64
PairingEpoch uint64
// contains filtered or unexported fields
}
func (*RelaySession) GetPairingEpoch ¶
func (r *RelaySession) GetPairingEpoch() uint64
func (*RelaySession) SetPairingEpoch ¶
func (r *RelaySession) SetPairingEpoch(epoch uint64)
type UserSessions ¶
type UserSessionsEpochData ¶
Click to show internal directories.
Click to hide internal directories.