constants

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	STREAMING_BASE_URL       = "https://cvp.bcdev.tools"
	STREAMING_BASE_URL_LOCAL = "http://localhost:8080" // for development purpose only

	STREAMING_PATH_REGISTER_PRE_VOTE          = "register-session/pre-vote/:chainId"
	STREAMING_PATH_RESUME_PRE_VOTE            = "resume-session/pre-vote/:sessionId"
	STREAMING_PATH_BROADCAST_PRE_VOTE         = "broadcast/pre-vote/:sessionId"
	STREAMING_PATH_VIEW_PRE_VOTE              = "pvtop/:sessionId"
	STREAMING_PATH_VIEW_PRE_VOTE_FETCH_UPDATE = "pvtop/:sessionId/update"

	STREAMING_CONTENT_TYPE       = "application/octet-stream"
	STREAMING_HEADER_SESSION_KEY = "X-Session-Key"
)
View Source
const (
	MAX_VALIDATORS                             = 250
	MAX_ENCODED_LIGHT_VALIDATORS_BYTES         = 12251 // 12251 v1, 8251 v2
	MAX_ENCODED_NEXT_BLOCK_PRE_VOTE_INFO_BYTES = 2044  // 2044 v1, 1786 v2
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL