ravencoin library
The Ravencoin library is similar to the Bitcoin library (bitcoin_flutter) and follows most of the same patterns.
Classes
Constants
- ADVANCED_TRANSACTION_FLAG → const int
- ADVANCED_TRANSACTION_MARKER → const int
- bitcoinMainnet → const NetworkType
-
bitcoinNetworks
→ const Map<
int, NetworkType> - bitcoinTestnet → const NetworkType
- DEFAULT_SEQUENCE → const int
- mainnet → const NetworkType
-
networks
→ const Map<
int, NetworkType> - SIGHASH_ALL → const int
- SIGHASH_ANYONECANPAY → const int
- SIGHASH_NONE → const int
- SIGHASH_SINGLE → const int
- testnet → const NetworkType
Properties
- BLANK_OUTPUT → Output
-
final
- EMPTY_SCRIPT → Uint8List
-
final
-
EMPTY_WITNESS
→ List<
Uint8List> -
final
-
ONE
→ List<
int> -
final
-
VALUE_UINT64_MAX
→ List<
int> -
final
-
ZERO
→ List<
int> -
final
Functions
-
isCoinbaseHash(
Uint8List buffer) → bool -
isP2PKHInput(
dynamic script) → bool -
isP2PKHOutput(
dynamic script) → bool -
isValidOutput(
Uint8List data) → dynamic -
pubkeyToOutputScript(
Uint8List? pubkey, [NetworkType network = mainnet]) → Uint8List? -
varSliceSize(
Uint8List someScript) → int