2014-01-09 06:46:05 +01:00
|
|
|
// Copyright (c) 2013-2014 Conformal Systems LLC.
|
2013-10-29 21:01:41 +01:00
|
|
|
// Use of this source code is governed by an ISC
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package btcutil
|
|
|
|
|
|
|
|
const (
|
|
|
|
// SatoshiPerBitcent is the number of satoshi in one bitcoin cent.
|
|
|
|
SatoshiPerBitcent int64 = 1e6
|
|
|
|
|
|
|
|
// SatoshiPerBitcoin is the number of satoshi in one bitcoin (1 BTC).
|
|
|
|
SatoshiPerBitcoin int64 = 1e8
|
|
|
|
|
|
|
|
// MaxSatoshi is the maximum transaction amount allowed in satoshi.
|
|
|
|
MaxSatoshi int64 = 21e6 * SatoshiPerBitcoin
|
|
|
|
)
|