dcrd/const.go
John C. Vernaleo 4b161c3870 Initial Decred Commit.
Includes work by cjepson, ay-p, and jcv.
2016-02-07 13:54:36 -05:00

19 lines
527 B
Go

// Copyright (c) 2013-2014 The btcsuite developers
// Copyright (c) 2015-2016 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
package dcrutil
const (
// AtomsPerCent is the number of atomic units in one coin cent.
AtomsPerCent = 1e6
// AtomsPerCoin is the number of atomic units in one coin.
AtomsPerCoin = 1e8
// MaxAmount is the maximum transaction amount allowed in atoms.
// Decred - Changeme for release
MaxAmount = 21e6 * AtomsPerCoin
)