2015-05-01 19:41:58 +02:00
|
|
|
// Copyright (c) 2013-2014 The btcsuite developers
|
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.
|
2021-04-11 13:21:41 +02:00
|
|
|
MaxSatoshi = 21e9 * SatoshiPerBitcoin
|
2013-10-29 21:01:41 +01:00
|
|
|
)
|