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.
|
2014-07-07 15:55:44 +02:00
|
|
|
SatoshiPerBitcent = 1e6
|
2013-10-29 21:01:41 +01:00
|
|
|
|
|
|
|
// SatoshiPerBitcoin is the number of satoshi in one bitcoin (1 BTC).
|
2014-07-07 15:55:44 +02:00
|
|
|
SatoshiPerBitcoin = 1e8
|
2013-10-29 21:01:41 +01:00
|
|
|
|
|
|
|
// MaxSatoshi is the maximum transaction amount allowed in satoshi.
|
2014-07-07 15:55:44 +02:00
|
|
|
MaxSatoshi = 21e6 * SatoshiPerBitcoin
|
2013-10-29 21:01:41 +01:00
|
|
|
)
|