canton

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpliceVersion = "0.5.3"
	Image         = "ghcr.io/digital-asset/decentralized-canton-sync/docker/canton"
)

Canton Defaults

View Source
const (
	AuthProviderAudience = "https://chain.link"
	AuthProviderSecret   = "unsafe"
)

JWT Auth defaults

View Source
const (
	DefaultParticipantJsonApiPortPrefix      = "11"
	DefaultParticipantAdminApiPortPrefix     = "12"
	DefaultLedgerApiPortPrefix               = "13"
	DefaultHTTPHealthcheckPortPrefix         = "15"
	DefaultGRPCHealthcheckPortPrefix         = "16"
	DefaultSpliceValidatorAdminApiPortPrefix = "22"
)

Port prefixes for participants

View Source
const (
	DefaultPostgresImage = "postgres:14"
	DefaultPostgresUser  = "canton"
	DefaultPostgresPass  = "password"
	DefaultPostgresDB    = "canton"
)
View Source
const (
	DefaultNginxImage = "nginx:1.27.0"
)
View Source
const (
	SpliceImage = "ghcr.io/digital-asset/decentralized-canton-sync/docker/splice-app"
)

Variables

This section is empty.

Functions

func ContainerRequest

func ContainerRequest(
	numberOfValidators int,
	spliceVersion string,
	postgresContainerName string,
) testcontainers.ContainerRequest

func NginxContainerRequest

func NginxContainerRequest(
	numberOfValidators int,
	port string,
	cantonContainerName string,
	spliceContainerName string,
) testcontainers.ContainerRequest

func PostgresContainerRequest

func PostgresContainerRequest(
	numberOfValidators int,
) testcontainers.ContainerRequest

func SpliceContainerRequest

func SpliceContainerRequest(
	numberOfValidators int,
	spliceVersion string,
	postgresContainerName string,
	cantonContainerName string,
) testcontainers.ContainerRequest

Types

This section is empty.

Jump to

Keyboard shortcuts

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