2014-01-08 23:46:05 -06:00
|
|
|
// Copyright (c) 2013-2014 Conformal Systems LLC.
|
2013-10-29 16:01:41 -04: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 08:55:44 -05:00
|
|
|
SatoshiPerBitcent = 1e6
|
2013-10-29 16:01:41 -04:00
|
|
|
|
|
|
|
// SatoshiPerBitcoin is the number of satoshi in one bitcoin (1 BTC).
|
2014-07-07 08:55:44 -05:00
|
|
|
SatoshiPerBitcoin = 1e8
|
2013-10-29 16:01:41 -04:00
|
|
|
|
|
|
|
// MaxSatoshi is the maximum transaction amount allowed in satoshi.
|
2014-07-07 08:55:44 -05:00
|
|
|
MaxSatoshi = 21e6 * SatoshiPerBitcoin
|
2013-10-29 16:01:41 -04:00
|
|
|
)
|