hardfork

package
v0.0.2-0...-1c7e8a7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Payees are the list of payments to be made on the hard fork activation on mainnet
	Payees = []Payee{
		{Addr("ag7s5bmcA8XoP1CcS1QPjiD4C5hhMWATik", mn), Amt(4400)},
	}
	// TestnetPayees are the list of payments to be made on the hard fork activation in the testnet
	//
	// these are made using the following seed for testnet
	// f4d2c4c542bb52512ed9e6bbfa2d000e576a0c8b4ebd1acafd7efa37247366bc
	TestnetPayees = []Payee{
		{Addr("8K73LTaMHZmwwqe4vTHu7wm7QtwusvRCwC", tn), Amt(100)},

		{Addr("8bec3m8qpMePrBPHDAyCrkSm7TanGX8yWW", tn), Amt(1223)},
		{Addr("8MCLEWq8pjXikrpb9rF9M5DpnpaoWPUD2W", tn), Amt(4000)},
		{Addr("8cYGvT7km339nVukTj3ztfyQDFEHFivBNk", tn), Amt(2440)},
		{Addr("8YUAAfUeS2mqUnsfiwDwQcEbMfM3tazKr7", tn), Amt(100)},
		{Addr("8MMam6gxH1ns5LqASfhkHfRV2vsQaoM9VC", tn), Amt(8800)},
		{Addr("8JABYpdqqyRD5FbACtMJ3XF5HJ38jaytrk", tn), Amt(422)},
		{Addr("8MUnJMYi5Fo7Bm5Pmpr7JjdL3ZDJ7wqmXJ", tn), Amt(5000)},
		{Addr("8d2RLbCBE8CiF4DetVuRfFFLEJJaXYjhdH", tn), Amt(30000)},
	}
	// CorePubkeyBytes is the address and public keys for the core dev disbursement
	CorePubkeyBytes = [][]byte{

		Key("021a00c7e054279124e2d3eb8b64a58f1fda515464cd8df3c0823d2ff2931ebf37"),

		Key("0387484f75bc5e45092b1334684def6b47f3dba1566b4b87f62d11c73d8f98db3e"),

		Key("02daf0bda15f83899f4ebb62fd837c2dd2368ec8ed90ed0f050054d75d35935c99"),
	}
	// CoreAmount is the amount paid into the dev pool
	CoreAmount = Amt(30000)
	// TestnetCorePubkeyBytes are the addresses for the 3 of 4 multisig payment for dev costs
	//
	// these are made using the following seed for testnet
	// f4d2c4c542bb52512ed9e6bbfa2d000e576a0c8b4ebd1acafd7efa37247366bc
	TestnetCorePubkeyBytes = [][]byte{

		Key("03f040c0cff7918415974f05154c8ffe126ad93db7216103fb6f4080dc3bcf4803"),

		Key("03f5a5ff1ce0564c7f4565a108220ebac9bd544b44e79ca5a2a805e585d8297cc6"),

		Key("022976653e490cea689faafa899aa41b6295c32a5fb3e02d0fa201ac698e0c0c24"),

		Key("029ed2885ea597fddea070a5c4c9f40900a514f67f9d5f662aa7b556e8bc5a26f8"),
	}
	// TestnetCoreAmount is the amount paid into the dev pool
	TestnetCoreAmount = Amt(30000)
)
View Source
var Blacklist = []util.Address{}

Blacklist is a list of addresses that have been suspended

Functions

func Addr

func Addr(addr string, defaultNet *netparams.Params) (out util.Address)

func Amt

func Amt(f float64) (amt util.Amount)

func Check

func Check(err error) bool

func Debug

func Debug(a ...interface{})

func Debugc

func Debugc(fn func() string)

func Debugf

func Debugf(format string, a ...interface{})

func Debugs

func Debugs(a interface{})

func Error

func Error(a ...interface{})

func Errorc

func Errorc(fn func() string)

func Errorf

func Errorf(format string, a ...interface{})

func Errors

func Errors(a interface{})

func Fatal

func Fatal(a ...interface{})

func Fatalc

func Fatalc(fn func() string)

func Fatalf

func Fatalf(format string, a ...interface{})

func Fatals

func Fatals(a interface{})

func Info

func Info(a ...interface{})

func Infoc

func Infoc(fn func() string)

func Infof

func Infof(format string, a ...interface{})

func Infos

func Infos(a interface{})

func Key

func Key(key string) (out []byte)

func Trace

func Trace(a ...interface{})

func Tracec

func Tracec(fn func() string)

func Tracef

func Tracef(format string, a ...interface{})

func Traces

func Traces(a interface{})

func Warn

func Warn(a ...interface{})

func Warnc

func Warnc(fn func() string)

func Warnf

func Warnf(format string, a ...interface{})

func Warns

func Warns(a interface{})

Types

type Payee

type Payee struct {
	Address util.Address
	Amount  util.Amount
}

Payee is an address and amount

Jump to

Keyboard shortcuts

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