accumulate

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const FozzieEndpoint = "https://fozzie.accumulatenetwork.io"
View Source
const KermitEndpoint = "https://kermit.accumulatenetwork.io"
View Source
const MainNetEndpoint = "https://mainnet.accumulatenetwork.io"

Variables

View Source
var BootstrapServers = func() []multiaddr.Multiaddr {
	s := []string{
		"/dns/bootstrap.accumulate.defidevs.io/tcp/16593/p2p/12D3KooWGJTh4aeF7bFnwo9sAYRujCkuVU1Cq8wNeTNGpFgZgXdg",
	}
	addrs := make([]multiaddr.Multiaddr, len(s))
	for i, s := range s {
		addr, err := multiaddr.NewMultiaddr(s)
		if err != nil {
			panic(err)
		}
		addrs[i] = addr
	}
	return addrs
}()
View Source
var WellKnownNetworks = map[string]string{
	"mainnet": MainNetEndpoint,
	"kermit":  KermitEndpoint,
	"fozzie":  FozzieEndpoint,

	"testnet": "https://kermit.accumulatenetwork.io",
	"local":   "http://127.0.1.1:26660",
}

Functions

func MainNetCheckpoint

func MainNetCheckpoint() (ioutil.SectionReader, [32]byte)

func ResolveWellKnownEndpoint

func ResolveWellKnownEndpoint(name string, version string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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