This is the bp Reference Manual, version 0.0.3, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Jan 15 04:27:34 2023 GMT+0.
bp
bp/core/all
bp/core/encoding
bp/crypto/hash
bp/core/transaction
bp/core/script
bp/core/parameters
bp/crypto/secp256k1
bp/crypto/random
bp/core/block
bp/core/chain
bp/core/merkletree
bp/core/consensus
bp/crypto/all
bp/net/all
bp/net/parameters
bp/net/address
bp/net/message
bp/net/node
bp/rpc/all
bp/bp.asd
bp/core/all/file-type.lisp
bp/core/encoding/file-type.lisp
bp/crypto/hash/file-type.lisp
bp/core/transaction/file-type.lisp
bp/core/script/file-type.lisp
bp/core/parameters/file-type.lisp
bp/crypto/secp256k1/file-type.lisp
bp/crypto/random/file-type.lisp
bp/core/block/file-type.lisp
bp/core/chain/file-type.lisp
bp/core/merkletree/file-type.lisp
bp/core/consensus/file-type.lisp
bp/crypto/all/file-type.lisp
bp/net/all/file-type.lisp
bp/net/parameters/file-type.lisp
bp/net/address/file-type.lisp
bp/net/message/file-type.lisp
bp/net/node/file-type.lisp
bp/rpc/all/file-type.lisp
bp/rpc/all
bp/core/parameters
bp/core/chain
bp/net/address
bp/net/parameters
bp/crypto/random
bp/core/script
bp/core/transaction
bp/crypto/hash
bp/net/message
bp/core/encoding
bp/net/node
bp/crypto/all
bp/core/block
bp/core/merkletree
bp/net/all
bp/core/all
bp/crypto/secp256k1
bp/core/consensus
The main system appears first, followed by any subsystem dependency.
bp
bp/core/all
bp/core/encoding
bp/crypto/hash
bp/core/transaction
bp/core/script
bp/core/parameters
bp/crypto/secp256k1
bp/crypto/random
bp/core/block
bp/core/chain
bp/core/merkletree
bp/core/consensus
bp/crypto/all
bp/net/all
bp/net/parameters
bp/net/address
bp/net/message
bp/net/node
bp/rpc/all
bp
Bitcoin Protocol components in Common Lisp
Seibart Nedor <rodentrabies@protonmail.com>
MIT
0.0.3
bp/core/all
(system).
bp/crypto/all
(system).
bp/net/all
(system).
bp/rpc/all
(system).
bp/core/all
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/encoding
(system).
bp/core/transaction
(system).
bp/core/script
(system).
bp/core/block
(system).
bp/core/chain
(system).
bp/core/merkletree
(system).
bp/core/parameters
(system).
bp/core/consensus
(system).
bp/core/encoding
Seibart Nedor <rodentrabies@protonmail.com>
MIT
ironclad
(system).
bp/crypto/hash
(system).
bp/crypto/hash
Seibart Nedor <rodentrabies@protonmail.com>
MIT
ironclad
(system).
bp/core/transaction
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/encoding
(system).
bp/core/script
(system).
bp/crypto/hash
(system).
bp/core/script
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/encoding
(system).
bp/core/parameters
(system).
bp/crypto/hash
(system).
bp/crypto/secp256k1
(system).
bp/crypto/secp256k1
Seibart Nedor <rodentrabies@protonmail.com>
MIT
cffi
(system).
ironclad
(system).
bp/crypto/random
(system).
bp/core/block
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/encoding
(system).
bp/core/transaction
(system).
bp/crypto/hash
(system).
bp/core/chain
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/block
(system).
bp/core/transaction
(system).
bp/core/encoding
(system).
bp/core/merkletree
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/encoding
(system).
bp/core/transaction
(system).
bp/crypto/hash
(system).
bp/core/consensus
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/encoding
(system).
bp/core/chain
(system).
bp/core/merkletree
(system).
bp/core/block
(system).
bp/core/transaction
(system).
bp/core/script
(system).
bp/core/parameters
(system).
bp/crypto/hash
(system).
bp/crypto/all
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/crypto/random
(system).
bp/crypto/hash
(system).
bp/crypto/secp256k1
(system).
bp/net/all
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/net/parameters
(system).
bp/net/address
(system).
bp/net/message
(system).
bp/net/node
(system).
bp/net/parameters
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/all
(system).
bp/net/address
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/encoding
(system).
usocket
(system).
bp/net/message
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/all
(system).
bp/net/address
(system).
ironclad
(system).
usocket
(system).
bp/net/node
Seibart Nedor <rodentrabies@protonmail.com>
MIT
bp/core/all
(system).
bp/crypto/all
(system).
bp/net/parameters
(system).
bp/net/address
(system).
bp/net/message
(system).
ironclad
(system).
usocket
(system).
bp/rpc/all
Seibart Nedor <rodentrabies@protonmail.com>
MIT
aserve
(system).
jsown
(system).
bp/core/all
(system).
Files are sorted by type and then listed depth-first from the systems components trees.
bp/bp.asd
bp/core/all/file-type.lisp
bp/core/encoding/file-type.lisp
bp/crypto/hash/file-type.lisp
bp/core/transaction/file-type.lisp
bp/core/script/file-type.lisp
bp/core/parameters/file-type.lisp
bp/crypto/secp256k1/file-type.lisp
bp/crypto/random/file-type.lisp
bp/core/block/file-type.lisp
bp/core/chain/file-type.lisp
bp/core/merkletree/file-type.lisp
bp/core/consensus/file-type.lisp
bp/crypto/all/file-type.lisp
bp/net/all/file-type.lisp
bp/net/parameters/file-type.lisp
bp/net/address/file-type.lisp
bp/net/message/file-type.lisp
bp/net/node/file-type.lisp
bp/rpc/all/file-type.lisp
bp/bp.asd
bp
(system).
bp
.
bp/core/all
.
bp/core/encoding
.
bp/crypto/hash
.
bp/core/transaction
.
bp/core/script
.
bp/core/parameters
.
bp/crypto/secp256k1
.
bp/crypto/random
.
bp/core/block
.
bp/core/chain
.
bp/core/merkletree
.
bp/core/consensus
.
bp/crypto/all
.
bp/net/all
.
bp/net/parameters
.
bp/net/address
.
bp/net/message
.
bp/net/node
.
bp/rpc/all
.
bp/core/encoding/file-type.lisp
bp/core/encoding
(system).
base58-decode
(function).
base58-encode
(function).
base58check-bad-checksum-error
(condition).
base58check-checksum-error
(condition).
base58check-decode
(function).
base58check-encode
(function).
base58check-no-checksum-error
(condition).
bech32-bad-checksum-error
(condition).
bech32-checksum-error
(condition).
bech32-decode
(function).
bech32-encode
(function).
bech32-invalid-hrp-character-error
(condition).
bech32-mixed-case-characters-error
(condition).
bech32-no-checksum-error
(condition).
bech32-no-hrp-error
(condition).
bech32-no-separator-character-error
(condition).
checksum-error
(condition).
decode
(function).
encode
(function).
hex-decode
(function).
hex-encode
(function).
make-byte-array
(function).
parse
(generic function).
read-bytes
(function).
read-int
(function).
read-varint
(function).
serialize
(generic function).
write-bytes
(function).
write-int
(function).
write-varint
(function).
+bech32-encoding-constant+
(constant).
+bech32m-encoding-constant+
(constant).
base58-decode-digit
(function).
base58-encode-digit
(function).
bech32*-decode
(function).
bech32*-encode
(function).
bech32-compute-checksum
(function).
bech32-decode-digit
(function).
bech32-encode-digit
(function).
bech32-error
(condition).
bech32-hrp-expand
(function).
bech32-polymod
(function).
bech32-verify-checksum
(function).
convert-bits
(function).
define-alphabet
(macro).
make-adjustable-byte-array
(function).
make-displaced-byte-array
(function).
bp/crypto/hash/file-type.lisp
bp/crypto/hash
(system).
bp/core/transaction/file-type.lisp
bp/core/transaction
(system).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
tx
(structure).
tx-hash
(function).
tx-id
(function).
tx-input
(function).
tx-inputs
(reader).
(setf tx-inputs)
(writer).
tx-locktime
(reader).
(setf tx-locktime)
(writer).
tx-output
(function).
tx-outputs
(reader).
(setf tx-outputs)
(writer).
tx-version
(reader).
(setf tx-version)
(writer).
tx-wid
(function).
tx-witness
(function).
tx-witnesses
(reader).
(setf tx-witnesses)
(writer).
txin
(structure).
txin-previous-tx-id
(reader).
(setf txin-previous-tx-id)
(writer).
txin-previous-tx-index
(reader).
(setf txin-previous-tx-index)
(writer).
txin-script-sig
(reader).
(setf txin-script-sig)
(writer).
txin-sequence
(reader).
(setf txin-sequence)
(writer).
txout
(structure).
txout-amount
(reader).
(setf txout-amount)
(writer).
txout-script-pubkey
(reader).
(setf txout-script-pubkey)
(writer).
witness
(structure).
witness-items
(reader).
(setf witness-items)
(writer).
copy-tx
(function).
copy-txin
(function).
copy-txout
(function).
copy-witness
(function).
make-tx
(function).
make-txin
(function).
make-txout
(function).
make-witness
(function).
read-num-inputs-or-segwit-flag
(function).
tx-p
(function).
txin-p
(function).
txout-p
(function).
witness-p
(function).
bp/core/script/file-type.lisp
bp/core/script
(system).
*trace-script-execution*
(special variable).
decode-integer
(function).
encode-integer
(function).
execute-script
(function).
execute-scripts
(function).
make-script
(function).
make-script-state
(function).
parse
(method).
print-object
(method).
print-object
(method).
script
(function).
script
(structure).
script-commands
(reader).
(setf script-commands)
(writer).
script-standard-p
(function).
serialize
(method).
*opcodes-by-code*
(special variable).
*opcodes-by-name*
(special variable).
*print-script-as-assembly*
(special variable).
@altstack
(reader).
(setf @altstack)
(writer).
@commands
(reader).
(setf @commands)
(writer).
@conditions
(reader).
(setf @conditions)
(writer).
@discard
(reader).
(setf @discard)
(writer).
@execp
(function).
@sighash
(function).
@sighashf
(reader).
(setf @sighashf)
(writer).
@sigversion
(reader).
(setf @sigversion)
(writer).
@stack
(reader).
(setf @stack)
(writer).
@witness
(reader).
(setf @witness)
(writer).
command-number
(function).
command-opcode
(function).
command-payload
(function).
command-payload-length
(function).
command-push-p
(function).
command-pushdata-p
(function).
command-simple-p
(function).
command-unexpected-end-p
(function).
copy-script
(function).
copy-script-state
(function).
define-disabled-opcode
(macro).
define-opcode
(macro).
define-opcode-alias
(macro).
define-opcode-range
(macro).
execute-p2sh
(function).
execute-p2wpkh
(function).
execute-p2wsh
(function).
make-command
(function).
null-data-p
(function).
op_0
(function).
op_0notequal
(function).
op_1
(function).
op_10
(function).
op_11
(function).
op_12
(function).
op_13
(function).
op_14
(function).
op_15
(function).
op_16
(function).
op_1add
(function).
op_1negate
(function).
op_1sub
(function).
op_2
(function).
op_2div
(function).
op_2drop
(function).
op_2dup
(function).
op_2mul
(function).
op_2over
(function).
op_2rot
(function).
op_2swap
(function).
op_3
(function).
op_3dup
(function).
op_4
(function).
op_5
(function).
op_6
(function).
op_7
(function).
op_8
(function).
op_9
(function).
op_abs
(function).
op_add
(function).
op_and
(function).
op_booland
(function).
op_boolor
(function).
op_cat
(function).
op_checklocktimeverify
(function).
op_checkmultisig
(function).
op_checkmultisigverify
(function).
op_checksequenceverify
(function).
op_checksig
(function).
op_checksigverify
(function).
op_codeseparator
(function).
op_depth
(function).
op_div
(function).
op_drop
(function).
op_dup
(function).
op_else
(function).
op_endif
(function).
op_equal
(function).
op_equalverify
(function).
op_fromaltstack
(function).
op_greaterthan
(function).
op_greaterthanorequal
(function).
op_hash160
(function).
op_hash256
(function).
op_if
(function).
op_ifdup
(function).
op_invalidopcode
(function).
op_invert
(function).
op_left
(function).
op_lessthan
(function).
op_lessthanorequal
(function).
op_lshift
(function).
op_max
(function).
op_min
(function).
op_mod
(function).
op_mul
(function).
op_negate
(function).
op_nip
(function).
op_nop
(function).
op_nop1
(function).
op_nop10
(function).
op_nop4
(function).
op_nop5
(function).
op_nop6
(function).
op_nop7
(function).
op_nop8
(function).
op_nop9
(function).
op_not
(function).
op_notif
(function).
op_numequal
(function).
op_numequalverify
(function).
op_numnotequal
(function).
op_or
(function).
op_over
(function).
op_pick
(function).
op_pubkey
(function).
op_pubkeyhash
(function).
op_push1
(function).
op_push10
(function).
op_push11
(function).
op_push12
(function).
op_push13
(function).
op_push14
(function).
op_push15
(function).
op_push16
(function).
op_push17
(function).
op_push18
(function).
op_push19
(function).
op_push2
(function).
op_push20
(function).
op_push21
(function).
op_push22
(function).
op_push23
(function).
op_push24
(function).
op_push25
(function).
op_push26
(function).
op_push27
(function).
op_push28
(function).
op_push29
(function).
op_push3
(function).
op_push30
(function).
op_push31
(function).
op_push32
(function).
op_push33
(function).
op_push34
(function).
op_push35
(function).
op_push36
(function).
op_push37
(function).
op_push38
(function).
op_push39
(function).
op_push4
(function).
op_push40
(function).
op_push41
(function).
op_push42
(function).
op_push43
(function).
op_push44
(function).
op_push45
(function).
op_push46
(function).
op_push47
(function).
op_push48
(function).
op_push49
(function).
op_push5
(function).
op_push50
(function).
op_push51
(function).
op_push52
(function).
op_push53
(function).
op_push54
(function).
op_push55
(function).
op_push56
(function).
op_push57
(function).
op_push58
(function).
op_push59
(function).
op_push6
(function).
op_push60
(function).
op_push61
(function).
op_push62
(function).
op_push63
(function).
op_push64
(function).
op_push65
(function).
op_push66
(function).
op_push67
(function).
op_push68
(function).
op_push69
(function).
op_push7
(function).
op_push70
(function).
op_push71
(function).
op_push72
(function).
op_push73
(function).
op_push74
(function).
op_push75
(function).
op_push8
(function).
op_push9
(function).
op_pushdata1
(function).
op_pushdata2
(function).
op_pushdata4
(function).
op_reserved
(function).
op_reserved1
(function).
op_reserved2
(function).
op_return
(function).
op_right
(function).
op_ripemd160
(function).
op_roll
(function).
op_rot
(function).
op_rshift
(function).
op_sha1
(function).
op_sha256
(function).
op_size
(function).
op_sub
(function).
op_substr
(function).
op_swap
(function).
op_toaltstack
(function).
op_tuck
(function).
op_unknown186
(function).
op_unknown187
(function).
op_unknown188
(function).
op_unknown189
(function).
op_unknown190
(function).
op_unknown191
(function).
op_unknown192
(function).
op_unknown193
(function).
op_unknown194
(function).
op_unknown195
(function).
op_unknown196
(function).
op_unknown197
(function).
op_unknown198
(function).
op_unknown199
(function).
op_unknown200
(function).
op_unknown201
(function).
op_unknown202
(function).
op_unknown203
(function).
op_unknown204
(function).
op_unknown205
(function).
op_unknown206
(function).
op_unknown207
(function).
op_unknown208
(function).
op_unknown209
(function).
op_unknown210
(function).
op_unknown211
(function).
op_unknown212
(function).
op_unknown213
(function).
op_unknown214
(function).
op_unknown215
(function).
op_unknown216
(function).
op_unknown217
(function).
op_unknown218
(function).
op_unknown219
(function).
op_unknown220
(function).
op_unknown221
(function).
op_unknown222
(function).
op_unknown223
(function).
op_unknown224
(function).
op_unknown225
(function).
op_unknown226
(function).
op_unknown227
(function).
op_unknown228
(function).
op_unknown229
(function).
op_unknown230
(function).
op_unknown231
(function).
op_unknown232
(function).
op_unknown233
(function).
op_unknown234
(function).
op_unknown235
(function).
op_unknown236
(function).
op_unknown237
(function).
op_unknown238
(function).
op_unknown239
(function).
op_unknown240
(function).
op_unknown241
(function).
op_unknown242
(function).
op_unknown243
(function).
op_unknown244
(function).
op_unknown245
(function).
op_unknown246
(function).
op_unknown247
(function).
op_unknown248
(function).
op_unknown249
(function).
op_unknown250
(function).
op_unknown251
(function).
op_unknown252
(function).
op_ver
(function).
op_verif
(function).
op_verify
(function).
op_vernotif
(function).
op_within
(function).
op_xor
(function).
opcode
(function).
p2ms-p
(function).
p2pk-p
(function).
p2pkh-p
(function).
p2sh-p
(function).
p2tr-p
(function).
p2wpkh-p
(function).
p2wsh-p
(function).
print-script-execution-state
(function).
register-opcode
(function).
script-error
(condition).
script-error-script
(reader method).
(setf script-error-script)
(writer method).
script-non-standard-error
(condition).
script-p
(function).
script-sigversion
(function).
script-state
(structure).
script-state-p
(function).
segwit-p
(function).
bp/core/parameters/file-type.lisp
bp/core/parameters
(system).
*bip-0016-active-p*
(special variable).
*bip-0141-active-p*
(special variable).
*bip-0341-active-p*
(special variable).
*bp-version*
(special variable).
+halving-period+
(constant).
+initial-block-reward+
(constant).
+mainnet-bip-0016-switch-time+
(constant).
+testnet-bip-0016-switch-time+
(constant).
bp/crypto/secp256k1/file-type.lisp
bp/crypto/secp256k1
(system).
context-create-none
(function).
context-create-sign
(function).
context-create-verify
(function).
ec-privkey-negate
(function).
ec-pubkey-create
(function).
ec-pubkey-negate
(function).
ec-pubkey-parse
(function).
ec-pubkey-serialize
(function).
ec-seckey-verify
(function).
ecdsa-sign
(function).
ecdsa-signature-normalize
(function).
ecdsa-signature-parse-compact
(function).
ecdsa-signature-parse-der
(function).
ecdsa-signature-serialize-compact
(function).
ecdsa-signature-serialize-der
(function).
ecdsa-verify
(function).
key
(structure).
make-key
(function).
make-pubkey
(function).
make-signature
(function).
parse-pubkey
(function).
parse-signature
(function).
pubkey
(structure).
serialize-pubkey
(function).
serialize-signature
(function).
signature
(structure).
verify-signature
(function).
%make-key
(function).
%make-pubkey
(function).
%make-signature
(function).
*context-none*
(special variable).
*context-sign*
(special variable).
*context-verify*
(special variable).
+secp256k1-context-none+
(constant).
+secp256k1-context-sign+
(constant).
+secp256k1-context-verify+
(constant).
+secp256k1-ec-compressed+
(constant).
+secp256k1-ec-uncompressed+
(constant).
+secp256k1-flags-bit-compression+
(constant).
+secp256k1-flags-bit-context-sign+
(constant).
+secp256k1-flags-bit-context-verify+
(constant).
+secp256k1-flags-type-compression+
(constant).
+secp256k1-flags-type-context+
(constant).
+secp256k1-flags-type-mask+
(constant).
+secp256k1-tag-pubkey-even+
(constant).
+secp256k1-tag-pubkey-hybrid-even+
(constant).
+secp256k1-tag-pubkey-hybrid-odd+
(constant).
+secp256k1-tag-pubkey-odd+
(constant).
+secp256k1-tag-pubkey-uncompressed+
(constant).
bytes-from-foreign
(macro).
bytes-to-foreign
(macro).
copy-key
(function).
copy-pubkey
(function).
copy-signature
(function).
ecdsa-signature-parse-der-lax
(function).
key-bytes
(reader).
(setf key-bytes)
(writer).
key-p
(function).
pubkey-bytes
(reader).
(setf pubkey-bytes)
(writer).
pubkey-p
(function).
secp256k1-context-clone
(function).
secp256k1-context-create
(function).
secp256k1-context-destroy
(function).
secp256k1-context-randomize
(function).
secp256k1-ec-privkey-negate
(function).
secp256k1-ec-privkey-tweak-add
(function).
secp256k1-ec-privkey-tweak-mul
(function).
secp256k1-ec-pubkey-combine
(function).
secp256k1-ec-pubkey-create
(function).
secp256k1-ec-pubkey-negate
(function).
secp256k1-ec-pubkey-parse
(function).
secp256k1-ec-pubkey-serialize
(function).
secp256k1-ec-pubkey-tweak-add
(function).
secp256k1-ec-pubkey-tweak-mul
(function).
secp256k1-ec-seckey-verify
(function).
secp256k1-ecdsa-sign
(function).
secp256k1-ecdsa-signature-normalize
(function).
secp256k1-ecdsa-signature-parse-compact
(function).
secp256k1-ecdsa-signature-parse-der
(function).
secp256k1-ecdsa-signature-serialize-compact
(function).
secp256k1-ecdsa-signature-serialize-der
(function).
secp256k1-ecdsa-signature-tclass
(class).
secp256k1-ecdsa-verify
(function).
secp256k1-pubkey-tclass
(class).
secp256k1-scratch-space-create
(function).
secp256k1-scratch-space-destroy
(function).
signature-bytes
(reader).
(setf signature-bytes)
(writer).
signature-p
(function).
bp/crypto/random/file-type.lisp
bp/crypto/random
(system).
random-bytes
(function).
bp/core/block/file-type.lisp
bp/core/block
(system).
block-bits
(generic function).
block-hash
(generic function).
block-header
(reader).
(setf block-header)
(writer).
block-header
(structure).
block-id
(function).
block-merkle-root
(generic function).
block-nonce
(generic function).
block-previous-block-hash
(generic function).
block-timestamp
(generic function).
block-transaction
(function).
block-transactions
(reader).
(setf block-transactions)
(writer).
block-version
(generic function).
cblock
(structure).
parse
(method).
parse
(method).
print-object
(method).
print-object
(method).
serialize
(method).
serialize
(method).
block-header-bits
(reader).
(setf block-header-bits)
(writer).
block-header-merkle-root
(reader).
(setf block-header-merkle-root)
(writer).
block-header-nonce
(reader).
(setf block-header-nonce)
(writer).
block-header-p
(function).
block-header-previous-block-hash
(reader).
(setf block-header-previous-block-hash)
(writer).
block-header-timestamp
(reader).
(setf block-header-timestamp)
(writer).
block-header-version
(reader).
(setf block-header-version)
(writer).
cblock-p
(function).
copy-block-header
(function).
copy-cblock
(function).
make-block-header
(function).
make-cblock
(function).
bp/core/chain/file-type.lisp
bp/core/chain
(system).
*chain-supplier*
(special variable).
chain-get-block
(generic function).
chain-get-block-hash
(generic function).
chain-get-transaction
(generic function).
chain-supplier
(class).
chain-testnet-p
(generic function).
get-block
(function).
get-block-hash
(function).
get-transaction
(function).
network
(function).
testnet-p
(function).
unknown-block-error
(condition).
unknown-block-hash
(reader method).
(setf unknown-block-hash)
(writer method).
unknown-block-hash-error
(condition).
unknown-block-height
(reader method).
(setf unknown-block-height)
(writer method).
unknown-entity-error
(condition).
unknown-transaction-error
(condition).
unknown-transaction-id
(reader method).
(setf unknown-transaction-id)
(writer method).
with-chain-supplier
(macro).
with-chain-supplier-normalization
(macro).
chain-network
(generic function).
chain-supplier-network
(reader method).
(setf chain-supplier-network)
(writer method).
bp/core/merkletree/file-type.lisp
bp/core/merkletree
(system).
build-merkle-tree
(function).
merkle-tree-node
(structure).
merkle-tree-node-hash
(reader).
(setf merkle-tree-node-hash)
(writer).
copy-merkle-tree-node
(function).
make-merkle-tree-node
(function).
merkle-tree-node-left
(reader).
(setf merkle-tree-node-left)
(writer).
merkle-tree-node-p
(function).
merkle-tree-node-right
(reader).
(setf merkle-tree-node-right)
(writer).
bp/core/consensus/file-type.lisp
bp/core/consensus
(system).
validate
(generic function).
validation-context
(class).
validp
(function).
+sighash-all+
(constant).
+sighash-anyonecanpay+
(constant).
+sighash-none+
(constant).
+sighash-single+
(constant).
@block
(reader method).
(setf @block)
(writer method).
@height
(reader method).
(setf @height)
(writer method).
@tx
(reader method).
(setf @tx)
(writer method).
@tx-index
(reader method).
(setf @tx-index)
(writer method).
@txin
(reader method).
(setf @txin)
(writer method).
@txin-index
(reader method).
(setf @txin-index)
(writer method).
@txout
(reader method).
(setf @txout)
(writer method).
@txout-index
(reader method).
(setf @txout-index)
(writer method).
bits-to-target
(function).
block-difficulty
(function).
block-fee
(function).
block-target
(function).
ensure-validation-context
(macro).
extend-validation-context
(function).
get-transaction-output
(function).
tx-coinbase
(function).
tx-fee
(function).
tx-outputs-hash
(function).
tx-previous-outputs-hash
(function).
tx-sequence-hash
(function).
tx-sighash
(function).
tx-sighash-base
(function).
tx-sighash-witness-v0
(function).
txin-amount
(function).
bp/net/parameters/file-type.lisp
bp/net/parameters
(system).
*protocol-version*
(special variable).
*user-agent*
(special variable).
+bp-network-port+
(constant).
+bp-regtest-network-port+
(constant).
+bp-testnet-network-port+
(constant).
+network-magic+
(constant).
+network-port+
(constant).
+node-bloom+
(constant).
+node-getutxo+
(constant).
+node-network+
(constant).
+node-network-limited+
(constant).
+node-witness+
(constant).
+regtest-network-magic+
(constant).
+regtest-network-port+
(constant).
+testnet-network-magic+
(constant).
+testnet-network-port+
(constant).
bp/net/address/file-type.lisp
bp/net/address
(system).
address-from-bytes
(function).
address-to-bytes
(function).
random-peer-address
(function).
split-host/port-string
(function).
*dns-seed*
(special variable).
bp/net/message/file-type.lisp
bp/net/message
(system).
+iv-error+
(constant).
+iv-msg-block+
(constant).
+iv-msg-cmpct-block+
(constant).
+iv-msg-filtered-block+
(constant).
+iv-msg-tx+
(constant).
addr-message
(structure).
alert-message
(structure).
block-message
(structure).
block-message-block
(reader).
(setf block-message-block)
(writer).
blocktxn-message
(structure).
checkorder-message
(structure).
cmpctblock-message
(structure).
command-from-message-type
(function).
feefilter-message
(structure).
filteradd-message
(structure).
filterclear-message
(structure).
filterload-message
(structure).
getaddr-message
(structure).
getblocks-message
(structure).
getblocktxn-message
(structure).
getdata-message
(structure).
getdata-message-inventory
(reader).
(setf getdata-message-inventory)
(writer).
getheaders-message
(structure).
headers-message
(structure).
inv-message
(structure).
inv-message-inventory
(reader).
(setf inv-message-inventory)
(writer).
inventory-vector
(structure).
inventory-vector-hash
(reader).
(setf inventory-vector-hash)
(writer).
inventory-vector-type
(reader).
(setf inventory-vector-type)
(writer).
make-addr-message
(function).
make-alert-message
(function).
make-block-message
(function).
make-blocktxn-message
(function).
make-checkorder-message
(function).
make-cmpctblock-message
(function).
make-feefilter-message
(function).
make-filteradd-message
(function).
make-filterclear-message
(function).
make-filterload-message
(function).
make-getaddr-message
(function).
make-getblocks-message
(function).
make-getblocktxn-message
(function).
make-getdata-message
(function).
make-getheaders-message
(function).
make-headers-message
(function).
make-inv-message
(function).
make-inventory-vector
(function).
make-mempool-message
(function).
make-merkleblock-message
(function).
make-network-address
(function).
make-notfound-message
(function).
make-packet
(function).
make-ping-message
(function).
make-pong-message
(function).
make-reject-message
(function).
make-reply-message
(function).
make-sendcmpct-message
(function).
make-sendheaders-message
(function).
make-submitorder-message
(function).
make-tx-message
(function).
make-verack-message
(function).
make-version-message
(function).
mempool-message
(structure).
merkleblock-message
(structure).
message-type-from-command
(function).
network-address
(structure).
network-address-address
(reader).
(setf network-address-address)
(writer).
network-address-port
(reader).
(setf network-address-port)
(writer).
network-address-services
(reader).
(setf network-address-services)
(writer).
network-address-timestamp
(reader).
(setf network-address-timestamp)
(writer).
notfound-message
(structure).
notfound-message-inventory
(reader).
(setf notfound-message-inventory)
(writer).
packet
(structure).
packet-checksum
(reader).
(setf packet-checksum)
(writer).
packet-command
(reader).
(setf packet-command)
(writer).
packet-magic
(reader).
(setf packet-magic)
(writer).
packet-payload
(reader).
(setf packet-payload)
(writer).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
parse
(method).
ping-message
(structure).
ping-message-nonce
(reader).
(setf ping-message-nonce)
(writer).
pong-message
(structure).
pong-message-nonce
(reader).
(setf pong-message-nonce)
(writer).
reject-message
(structure).
reply-message
(structure).
sendcmpct-message
(structure).
sendheaders-message
(structure).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
serialize
(method).
submitorder-message
(structure).
tx-message
(structure).
tx-message-tx
(reader).
(setf tx-message-tx)
(writer).
verack-message
(structure).
version-message
(structure).
version-message-height
(reader).
(setf version-message-height)
(writer).
version-message-nonce
(reader).
(setf version-message-nonce)
(writer).
version-message-receiver-address
(reader).
(setf version-message-receiver-address)
(writer).
version-message-relayp
(reader).
(setf version-message-relayp)
(writer).
version-message-sender-address
(reader).
(setf version-message-sender-address)
(writer).
version-message-services
(reader).
(setf version-message-services)
(writer).
version-message-timestamp
(reader).
(setf version-message-timestamp)
(writer).
version-message-user-agent
(reader).
(setf version-message-user-agent)
(writer).
version-message-version
(reader).
(setf version-message-version)
(writer).
*message-commands*
(special variable).
*message-types*
(special variable).
addr-message-p
(function).
alert-message-p
(function).
block-message-p
(function).
blocktxn-message-p
(function).
checkorder-message-p
(function).
cmpctblock-message-p
(function).
command-from-bytes
(function).
command-to-bytes
(function).
copy-addr-message
(function).
copy-alert-message
(function).
copy-block-message
(function).
copy-blocktxn-message
(function).
copy-checkorder-message
(function).
copy-cmpctblock-message
(function).
copy-feefilter-message
(function).
copy-filteradd-message
(function).
copy-filterclear-message
(function).
copy-filterload-message
(function).
copy-getaddr-message
(function).
copy-getblocks-message
(function).
copy-getblocktxn-message
(function).
copy-getdata-message
(function).
copy-getheaders-message
(function).
copy-headers-message
(function).
copy-inv-message
(function).
copy-inventory-vector
(function).
copy-mempool-message
(function).
copy-merkleblock-message
(function).
copy-network-address
(function).
copy-notfound-message
(function).
copy-packet
(function).
copy-ping-message
(function).
copy-pong-message
(function).
copy-reject-message
(function).
copy-reply-message
(function).
copy-sendcmpct-message
(function).
copy-sendheaders-message
(function).
copy-submitorder-message
(function).
copy-tx-message
(function).
copy-verack-message
(function).
copy-version-message
(function).
defmessage
(macro).
feefilter-message-p
(function).
filteradd-message-p
(function).
filterclear-message-p
(function).
filterload-message-p
(function).
getaddr-message-p
(function).
getblocks-message-p
(function).
getblocktxn-message-p
(function).
getdata-message-p
(function).
getheaders-message-p
(function).
headers-message-p
(function).
inv-message-p
(function).
inventory-vector-p
(function).
mempool-message-p
(function).
merkleblock-message-p
(function).
network-address-p
(function).
notfound-message-p
(function).
packet-length
(reader).
(setf packet-length)
(writer).
packet-p
(function).
ping-message-p
(function).
pong-message-p
(function).
reject-message-p
(function).
reply-message-p
(function).
sendcmpct-message-p
(function).
sendheaders-message-p
(function).
submitorder-message-p
(function).
tx-message-p
(function).
verack-message-p
(function).
version-message-p
(function).
bp/net/node/file-type.lisp
bp/net/node
(system).
chain-get-block
(method).
chain-get-block-hash
(method).
chain-get-transaction
(method).
connect-peer
(generic function).
disconnect-peer
(generic function).
handle-message
(generic function).
initialize-instance
(method).
node
(class).
node-host
(reader method).
(setf node-host)
(writer method).
node-network
(reader method).
(setf node-network)
(writer method).
node-port
(reader method).
(setf node-port)
(writer method).
receive-message
(generic function).
seek-message
(generic function).
send-message
(generic function).
simple-node
(class).
copy-peer
(function).
make-peer
(function).
node-peer
(reader method).
(setf node-peer)
(writer method).
peer
(structure).
peer-connection
(reader).
(setf peer-connection)
(writer).
peer-height
(reader).
(setf peer-height)
(writer).
peer-host
(reader).
(setf peer-host)
(writer).
peer-p
(function).
peer-port
(reader).
(setf peer-port)
(writer).
peer-services
(reader).
(setf peer-services)
(writer).
peer-timestamp
(reader).
(setf peer-timestamp)
(writer).
peer-user-agent
(reader).
(setf peer-user-agent)
(writer).
peer-version
(reader).
(setf peer-version)
(writer).
perform-handshake
(function).
read-message
(function).
transaction-not-available-error
(condition).
write-message
(function).
bp/rpc/all/file-type.lisp
bp/rpc/all
(system).
chain-get-block
(method).
chain-get-block-hash
(method).
chain-get-transaction
(method).
getblock
(function).
getblockhash
(function).
getchaintxstats
(function).
getrawtransaction
(function).
initialize-instance
(method).
node-connection
(class).
node-rpc-connection
(class).
rpc-error
(condition).
connection-error
(condition).
connection-error-code
(reader method).
connection-error-message
(reader method).
do-simple-rpc-call
(function).
http-error
(condition).
ignore-rpc-errors
(macro).
rpc-connection
(class).
rpc-connection-password
(reader method).
(setf rpc-connection-password)
(writer method).
rpc-connection-url
(reader method).
(setf rpc-connection-url)
(writer method).
rpc-connection-username
(reader method).
(setf rpc-connection-username)
(writer method).
Packages are listed by definition order.
bp/rpc/all
bp/core/parameters
bp/core/chain
bp/net/address
bp/net/parameters
bp/crypto/random
bp/core/script
bp/core/transaction
bp/crypto/hash
bp/net/message
bp/core/encoding
bp/net/node
bp/crypto/all
bp/core/block
bp/core/merkletree
bp/net/all
bp/core/all
bp/crypto/secp256k1
bp/core/consensus
bp/rpc/all
bprpc
bp/core/all
.
common-lisp
.
getblock
(function).
getblockhash
(function).
getchaintxstats
(function).
getrawtransaction
(function).
node-rpc-connection
(class).
rpc-error
(condition).
connection-error
(condition).
connection-error-code
(generic reader).
connection-error-message
(generic reader).
do-simple-rpc-call
(function).
http-error
(condition).
ignore-rpc-errors
(macro).
rpc-connection
(class).
rpc-connection-password
(generic reader).
(setf rpc-connection-password)
(generic writer).
rpc-connection-url
(generic reader).
(setf rpc-connection-url)
(generic writer).
rpc-connection-username
(generic reader).
(setf rpc-connection-username)
(generic writer).
bp/core/parameters
common-lisp
.
*bip-0016-active-p*
(special variable).
*bip-0141-active-p*
(special variable).
*bip-0341-active-p*
(special variable).
*bp-version*
(special variable).
+halving-period+
(constant).
+initial-block-reward+
(constant).
+mainnet-bip-0016-switch-time+
(constant).
+testnet-bip-0016-switch-time+
(constant).
bp/core/chain
bp/core/block
.
bp/core/encoding
.
bp/core/transaction
.
common-lisp
.
*chain-supplier*
(special variable).
chain-get-block
(generic function).
chain-get-block-hash
(generic function).
chain-get-transaction
(generic function).
chain-supplier
(class).
chain-testnet-p
(generic function).
get-block
(function).
get-block-hash
(function).
get-transaction
(function).
network
(function).
network
(slot).
testnet-p
(function).
unknown-block-error
(condition).
unknown-block-hash
(generic reader).
(setf unknown-block-hash)
(generic writer).
unknown-block-hash-error
(condition).
unknown-block-height
(generic reader).
(setf unknown-block-height)
(generic writer).
unknown-entity-error
(condition).
unknown-transaction-error
(condition).
unknown-transaction-id
(generic reader).
(setf unknown-transaction-id)
(generic writer).
with-chain-supplier
(macro).
with-chain-supplier-normalization
(macro).
chain-network
(generic function).
chain-supplier-network
(generic reader).
(setf chain-supplier-network)
(generic writer).
bp/net/address
bp/core/encoding
.
common-lisp
.
address-from-bytes
(function).
address-to-bytes
(function).
random-peer-address
(function).
split-host/port-string
(function).
*dns-seed*
(special variable).
bp/net/parameters
bp/core/all
.
common-lisp
.
*protocol-version*
(special variable).
*user-agent*
(special variable).
+bp-network-port+
(constant).
+bp-regtest-network-port+
(constant).
+bp-testnet-network-port+
(constant).
+network-magic+
(constant).
+network-port+
(constant).
+node-bloom+
(constant).
+node-getutxo+
(constant).
+node-network+
(constant).
+node-network-limited+
(constant).
+node-witness+
(constant).
+regtest-network-magic+
(constant).
+regtest-network-port+
(constant).
+testnet-network-magic+
(constant).
+testnet-network-port+
(constant).
bp/crypto/random
common-lisp
.
random-bytes
(function).
bp/core/script
bp/core/encoding
.
bp/core/parameters
.
bp/crypto/hash
.
bp/crypto/secp256k1
.
common-lisp
.
*trace-script-execution*
(special variable).
decode-integer
(function).
encode-integer
(function).
execute-script
(function).
execute-scripts
(function).
make-script
(function).
make-script-state
(function).
script
(function).
script
(structure).
script-commands
(reader).
(setf script-commands)
(writer).
script-standard-p
(function).
*opcodes-by-code*
(special variable).
*opcodes-by-name*
(special variable).
*print-script-as-assembly*
(special variable).
@altstack
(reader).
(setf @altstack)
(writer).
@commands
(reader).
(setf @commands)
(writer).
@conditions
(reader).
(setf @conditions)
(writer).
@discard
(reader).
(setf @discard)
(writer).
@execp
(function).
@sighash
(function).
@sighashf
(reader).
(setf @sighashf)
(writer).
@sigversion
(reader).
(setf @sigversion)
(writer).
@stack
(reader).
(setf @stack)
(writer).
@witness
(reader).
(setf @witness)
(writer).
command-number
(function).
command-opcode
(function).
command-payload
(function).
command-payload-length
(function).
command-push-p
(function).
command-pushdata-p
(function).
command-simple-p
(function).
command-unexpected-end-p
(function).
copy-script
(function).
copy-script-state
(function).
define-disabled-opcode
(macro).
define-opcode
(macro).
define-opcode-alias
(macro).
define-opcode-range
(macro).
execute-p2sh
(function).
execute-p2wpkh
(function).
execute-p2wsh
(function).
make-command
(function).
null-data-p
(function).
op_0
(function).
op_0notequal
(function).
op_1
(function).
op_10
(function).
op_11
(function).
op_12
(function).
op_13
(function).
op_14
(function).
op_15
(function).
op_16
(function).
op_1add
(function).
op_1negate
(function).
op_1sub
(function).
op_2
(function).
op_2div
(function).
op_2drop
(function).
op_2dup
(function).
op_2mul
(function).
op_2over
(function).
op_2rot
(function).
op_2swap
(function).
op_3
(function).
op_3dup
(function).
op_4
(function).
op_5
(function).
op_6
(function).
op_7
(function).
op_8
(function).
op_9
(function).
op_abs
(function).
op_add
(function).
op_and
(function).
op_booland
(function).
op_boolor
(function).
op_cat
(function).
op_checklocktimeverify
(function).
op_checkmultisig
(function).
op_checkmultisigverify
(function).
op_checksequenceverify
(function).
op_checksig
(function).
op_checksigverify
(function).
op_codeseparator
(function).
op_depth
(function).
op_div
(function).
op_drop
(function).
op_dup
(function).
op_else
(function).
op_endif
(function).
op_equal
(function).
op_equalverify
(function).
op_fromaltstack
(function).
op_greaterthan
(function).
op_greaterthanorequal
(function).
op_hash160
(function).
op_hash256
(function).
op_if
(function).
op_ifdup
(function).
op_invalidopcode
(function).
op_invert
(function).
op_left
(function).
op_lessthan
(function).
op_lessthanorequal
(function).
op_lshift
(function).
op_max
(function).
op_min
(function).
op_mod
(function).
op_mul
(function).
op_negate
(function).
op_nip
(function).
op_nop
(function).
op_nop1
(function).
op_nop10
(function).
op_nop4
(function).
op_nop5
(function).
op_nop6
(function).
op_nop7
(function).
op_nop8
(function).
op_nop9
(function).
op_not
(function).
op_notif
(function).
op_numequal
(function).
op_numequalverify
(function).
op_numnotequal
(function).
op_or
(function).
op_over
(function).
op_pick
(function).
op_pubkey
(function).
op_pubkeyhash
(function).
op_push1
(function).
op_push10
(function).
op_push11
(function).
op_push12
(function).
op_push13
(function).
op_push14
(function).
op_push15
(function).
op_push16
(function).
op_push17
(function).
op_push18
(function).
op_push19
(function).
op_push2
(function).
op_push20
(function).
op_push21
(function).
op_push22
(function).
op_push23
(function).
op_push24
(function).
op_push25
(function).
op_push26
(function).
op_push27
(function).
op_push28
(function).
op_push29
(function).
op_push3
(function).
op_push30
(function).
op_push31
(function).
op_push32
(function).
op_push33
(function).
op_push34
(function).
op_push35
(function).
op_push36
(function).
op_push37
(function).
op_push38
(function).
op_push39
(function).
op_push4
(function).
op_push40
(function).
op_push41
(function).
op_push42
(function).
op_push43
(function).
op_push44
(function).
op_push45
(function).
op_push46
(function).
op_push47
(function).
op_push48
(function).
op_push49
(function).
op_push5
(function).
op_push50
(function).
op_push51
(function).
op_push52
(function).
op_push53
(function).
op_push54
(function).
op_push55
(function).
op_push56
(function).
op_push57
(function).
op_push58
(function).
op_push59
(function).
op_push6
(function).
op_push60
(function).
op_push61
(function).
op_push62
(function).
op_push63
(function).
op_push64
(function).
op_push65
(function).
op_push66
(function).
op_push67
(function).
op_push68
(function).
op_push69
(function).
op_push7
(function).
op_push70
(function).
op_push71
(function).
op_push72
(function).
op_push73
(function).
op_push74
(function).
op_push75
(function).
op_push8
(function).
op_push9
(function).
op_pushdata1
(function).
op_pushdata2
(function).
op_pushdata4
(function).
op_reserved
(function).
op_reserved1
(function).
op_reserved2
(function).
op_return
(function).
op_right
(function).
op_ripemd160
(function).
op_roll
(function).
op_rot
(function).
op_rshift
(function).
op_sha1
(function).
op_sha256
(function).
op_size
(function).
op_sub
(function).
op_substr
(function).
op_swap
(function).
op_toaltstack
(function).
op_tuck
(function).
op_unknown186
(function).
op_unknown187
(function).
op_unknown188
(function).
op_unknown189
(function).
op_unknown190
(function).
op_unknown191
(function).
op_unknown192
(function).
op_unknown193
(function).
op_unknown194
(function).
op_unknown195
(function).
op_unknown196
(function).
op_unknown197
(function).
op_unknown198
(function).
op_unknown199
(function).
op_unknown200
(function).
op_unknown201
(function).
op_unknown202
(function).
op_unknown203
(function).
op_unknown204
(function).
op_unknown205
(function).
op_unknown206
(function).
op_unknown207
(function).
op_unknown208
(function).
op_unknown209
(function).
op_unknown210
(function).
op_unknown211
(function).
op_unknown212
(function).
op_unknown213
(function).
op_unknown214
(function).
op_unknown215
(function).
op_unknown216
(function).
op_unknown217
(function).
op_unknown218
(function).
op_unknown219
(function).
op_unknown220
(function).
op_unknown221
(function).
op_unknown222
(function).
op_unknown223
(function).
op_unknown224
(function).
op_unknown225
(function).
op_unknown226
(function).
op_unknown227
(function).
op_unknown228
(function).
op_unknown229
(function).
op_unknown230
(function).
op_unknown231
(function).
op_unknown232
(function).
op_unknown233
(function).
op_unknown234
(function).
op_unknown235
(function).
op_unknown236
(function).
op_unknown237
(function).
op_unknown238
(function).
op_unknown239
(function).
op_unknown240
(function).
op_unknown241
(function).
op_unknown242
(function).
op_unknown243
(function).
op_unknown244
(function).
op_unknown245
(function).
op_unknown246
(function).
op_unknown247
(function).
op_unknown248
(function).
op_unknown249
(function).
op_unknown250
(function).
op_unknown251
(function).
op_unknown252
(function).
op_ver
(function).
op_verif
(function).
op_verify
(function).
op_vernotif
(function).
op_within
(function).
op_xor
(function).
opcode
(function).
p2ms-p
(function).
p2pk-p
(function).
p2pkh-p
(function).
p2sh-p
(function).
p2tr-p
(function).
p2wpkh-p
(function).
p2wsh-p
(function).
print-script-execution-state
(function).
register-opcode
(function).
script-error
(condition).
script-error-script
(generic reader).
(setf script-error-script)
(generic writer).
script-non-standard-error
(condition).
script-p
(function).
script-sigversion
(function).
script-state
(structure).
script-state-p
(function).
segwit-p
(function).
bp/core/transaction
bp/core/encoding
.
bp/core/script
.
bp/crypto/hash
.
common-lisp
.
tx
(structure).
tx
(slot).
tx
(slot).
tx-hash
(function).
tx-id
(function).
tx-input
(function).
tx-inputs
(reader).
(setf tx-inputs)
(writer).
tx-locktime
(reader).
(setf tx-locktime)
(writer).
tx-output
(function).
tx-outputs
(reader).
(setf tx-outputs)
(writer).
tx-version
(reader).
(setf tx-version)
(writer).
tx-wid
(function).
tx-witness
(function).
tx-witnesses
(reader).
(setf tx-witnesses)
(writer).
txin
(structure).
txin
(slot).
txin-previous-tx-id
(reader).
(setf txin-previous-tx-id)
(writer).
txin-previous-tx-index
(reader).
(setf txin-previous-tx-index)
(writer).
txin-script-sig
(reader).
(setf txin-script-sig)
(writer).
txin-sequence
(reader).
(setf txin-sequence)
(writer).
txout
(structure).
txout
(slot).
txout-amount
(reader).
(setf txout-amount)
(writer).
txout-script-pubkey
(reader).
(setf txout-script-pubkey)
(writer).
witness
(structure).
witness-items
(reader).
(setf witness-items)
(writer).
copy-tx
(function).
copy-txin
(function).
copy-txout
(function).
copy-witness
(function).
make-tx
(function).
make-txin
(function).
make-txout
(function).
make-witness
(function).
read-num-inputs-or-segwit-flag
(function).
tx-p
(function).
txin-p
(function).
txout-p
(function).
witness-p
(function).
bp/net/message
bp/core/all
.
bp/net/address
.
common-lisp
.
+iv-error+
(constant).
+iv-msg-block+
(constant).
+iv-msg-cmpct-block+
(constant).
+iv-msg-filtered-block+
(constant).
+iv-msg-tx+
(constant).
addr-message
(structure).
alert-message
(structure).
block-message
(structure).
block-message-block
(reader).
(setf block-message-block)
(writer).
blocktxn-message
(structure).
checkorder-message
(structure).
cmpctblock-message
(structure).
command-from-message-type
(function).
feefilter-message
(structure).
filteradd-message
(structure).
filterclear-message
(structure).
filterload-message
(structure).
getaddr-message
(structure).
getblocks-message
(structure).
getblocktxn-message
(structure).
getdata-message
(structure).
getdata-message-inventory
(reader).
(setf getdata-message-inventory)
(writer).
getheaders-message
(structure).
headers-message
(structure).
inv-message
(structure).
inv-message-inventory
(reader).
(setf inv-message-inventory)
(writer).
inventory-vector
(structure).
inventory-vector-hash
(reader).
(setf inventory-vector-hash)
(writer).
inventory-vector-type
(reader).
(setf inventory-vector-type)
(writer).
make-addr-message
(function).
make-alert-message
(function).
make-block-message
(function).
make-blocktxn-message
(function).
make-checkorder-message
(function).
make-cmpctblock-message
(function).
make-feefilter-message
(function).
make-filteradd-message
(function).
make-filterclear-message
(function).
make-filterload-message
(function).
make-getaddr-message
(function).
make-getblocks-message
(function).
make-getblocktxn-message
(function).
make-getdata-message
(function).
make-getheaders-message
(function).
make-headers-message
(function).
make-inv-message
(function).
make-inventory-vector
(function).
make-mempool-message
(function).
make-merkleblock-message
(function).
make-network-address
(function).
make-notfound-message
(function).
make-packet
(function).
make-ping-message
(function).
make-pong-message
(function).
make-reject-message
(function).
make-reply-message
(function).
make-sendcmpct-message
(function).
make-sendheaders-message
(function).
make-submitorder-message
(function).
make-tx-message
(function).
make-verack-message
(function).
make-version-message
(function).
mempool-message
(structure).
merkleblock-message
(structure).
message-type-from-command
(function).
network-address
(structure).
network-address-address
(reader).
(setf network-address-address)
(writer).
network-address-port
(reader).
(setf network-address-port)
(writer).
network-address-services
(reader).
(setf network-address-services)
(writer).
network-address-timestamp
(reader).
(setf network-address-timestamp)
(writer).
notfound-message
(structure).
notfound-message-inventory
(reader).
(setf notfound-message-inventory)
(writer).
packet
(structure).
packet-checksum
(reader).
(setf packet-checksum)
(writer).
packet-command
(reader).
(setf packet-command)
(writer).
packet-magic
(reader).
(setf packet-magic)
(writer).
packet-payload
(reader).
(setf packet-payload)
(writer).
ping-message
(structure).
ping-message-nonce
(reader).
(setf ping-message-nonce)
(writer).
pong-message
(structure).
pong-message-nonce
(reader).
(setf pong-message-nonce)
(writer).
reject-message
(structure).
reply-message
(structure).
sendcmpct-message
(structure).
sendheaders-message
(structure).
submitorder-message
(structure).
tx-message
(structure).
tx-message-tx
(reader).
(setf tx-message-tx)
(writer).
verack-message
(structure).
version-message
(structure).
version-message-height
(reader).
(setf version-message-height)
(writer).
version-message-nonce
(reader).
(setf version-message-nonce)
(writer).
version-message-receiver-address
(reader).
(setf version-message-receiver-address)
(writer).
version-message-relayp
(reader).
(setf version-message-relayp)
(writer).
version-message-sender-address
(reader).
(setf version-message-sender-address)
(writer).
version-message-services
(reader).
(setf version-message-services)
(writer).
version-message-timestamp
(reader).
(setf version-message-timestamp)
(writer).
version-message-user-agent
(reader).
(setf version-message-user-agent)
(writer).
version-message-version
(reader).
(setf version-message-version)
(writer).
*message-commands*
(special variable).
*message-types*
(special variable).
addr-message-p
(function).
alert-message-p
(function).
block-message-p
(function).
blocktxn-message-p
(function).
checkorder-message-p
(function).
cmpctblock-message-p
(function).
command-from-bytes
(function).
command-to-bytes
(function).
copy-addr-message
(function).
copy-alert-message
(function).
copy-block-message
(function).
copy-blocktxn-message
(function).
copy-checkorder-message
(function).
copy-cmpctblock-message
(function).
copy-feefilter-message
(function).
copy-filteradd-message
(function).
copy-filterclear-message
(function).
copy-filterload-message
(function).
copy-getaddr-message
(function).
copy-getblocks-message
(function).
copy-getblocktxn-message
(function).
copy-getdata-message
(function).
copy-getheaders-message
(function).
copy-headers-message
(function).
copy-inv-message
(function).
copy-inventory-vector
(function).
copy-mempool-message
(function).
copy-merkleblock-message
(function).
copy-network-address
(function).
copy-notfound-message
(function).
copy-packet
(function).
copy-ping-message
(function).
copy-pong-message
(function).
copy-reject-message
(function).
copy-reply-message
(function).
copy-sendcmpct-message
(function).
copy-sendheaders-message
(function).
copy-submitorder-message
(function).
copy-tx-message
(function).
copy-verack-message
(function).
copy-version-message
(function).
defmessage
(macro).
feefilter-message-p
(function).
filteradd-message-p
(function).
filterclear-message-p
(function).
filterload-message-p
(function).
getaddr-message-p
(function).
getblocks-message-p
(function).
getblocktxn-message-p
(function).
getdata-message-p
(function).
getheaders-message-p
(function).
headers-message-p
(function).
inv-message-p
(function).
inventory-vector-p
(function).
mempool-message-p
(function).
merkleblock-message-p
(function).
network-address-p
(function).
notfound-message-p
(function).
packet-length
(reader).
(setf packet-length)
(writer).
packet-p
(function).
ping-message-p
(function).
pong-message-p
(function).
reject-message-p
(function).
reply-message-p
(function).
sendcmpct-message-p
(function).
sendheaders-message-p
(function).
submitorder-message-p
(function).
tx-message-p
(function).
verack-message-p
(function).
version-message-p
(function).
bp/core/encoding
bp/crypto/hash
.
common-lisp
.
ironclad
.
base58-decode
(function).
base58-encode
(function).
base58check-bad-checksum-error
(condition).
base58check-checksum-error
(condition).
base58check-decode
(function).
base58check-encode
(function).
base58check-no-checksum-error
(condition).
bech32-bad-checksum-error
(condition).
bech32-checksum-error
(condition).
bech32-decode
(function).
bech32-encode
(function).
bech32-invalid-hrp-character-error
(condition).
bech32-mixed-case-characters-error
(condition).
bech32-no-checksum-error
(condition).
bech32-no-hrp-error
(condition).
bech32-no-separator-character-error
(condition).
checksum-error
(condition).
decode
(function).
encode
(function).
hex-decode
(function).
hex-encode
(function).
make-byte-array
(function).
parse
(generic function).
read-bytes
(function).
read-int
(function).
read-varint
(function).
serialize
(generic function).
write-bytes
(function).
write-int
(function).
write-varint
(function).
+bech32-encoding-constant+
(constant).
+bech32m-encoding-constant+
(constant).
base58-decode-digit
(function).
base58-encode-digit
(function).
bech32*-decode
(function).
bech32*-encode
(function).
bech32-compute-checksum
(function).
bech32-decode-digit
(function).
bech32-encode-digit
(function).
bech32-error
(condition).
bech32-hrp-expand
(function).
bech32-polymod
(function).
bech32-verify-checksum
(function).
convert-bits
(function).
define-alphabet
(macro).
make-adjustable-byte-array
(function).
make-displaced-byte-array
(function).
bp/net/node
bp/core/all
.
bp/crypto/all
.
bp/net/address
.
bp/net/message
.
bp/net/parameters
.
common-lisp
.
connect-peer
(generic function).
disconnect-peer
(generic function).
handle-message
(generic function).
node
(class).
node-host
(generic reader).
(setf node-host)
(generic writer).
node-network
(generic reader).
(setf node-network)
(generic writer).
node-port
(generic reader).
(setf node-port)
(generic writer).
receive-message
(generic function).
seek-message
(generic function).
send-message
(generic function).
simple-node
(class).
copy-peer
(function).
make-peer
(function).
node-peer
(generic reader).
(setf node-peer)
(generic writer).
peer
(structure).
peer-connection
(reader).
(setf peer-connection)
(writer).
peer-height
(reader).
(setf peer-height)
(writer).
peer-host
(reader).
(setf peer-host)
(writer).
peer-p
(function).
peer-port
(reader).
(setf peer-port)
(writer).
peer-services
(reader).
(setf peer-services)
(writer).
peer-timestamp
(reader).
(setf peer-timestamp)
(writer).
peer-user-agent
(reader).
(setf peer-user-agent)
(writer).
peer-version
(reader).
(setf peer-version)
(writer).
perform-handshake
(function).
read-message
(function).
transaction-not-available-error
(condition).
write-message
(function).
bp/crypto/all
bpcrypto
bp/crypto/hash
.
bp/crypto/random
.
bp/crypto/secp256k1
.
common-lisp
.
bp/core/block
bp/core/encoding
.
bp/core/transaction
.
bp/crypto/hash
.
common-lisp
.
block-bits
(generic function).
block-hash
(generic function).
block-header
(reader).
(setf block-header)
(writer).
block-header
(structure).
block-id
(function).
block-merkle-root
(generic function).
block-nonce
(generic function).
block-previous-block-hash
(generic function).
block-timestamp
(generic function).
block-transaction
(function).
block-transactions
(reader).
(setf block-transactions)
(writer).
block-version
(generic function).
cblock
(structure).
cblock
(slot).
block-header-bits
(reader).
(setf block-header-bits)
(writer).
block-header-merkle-root
(reader).
(setf block-header-merkle-root)
(writer).
block-header-nonce
(reader).
(setf block-header-nonce)
(writer).
block-header-p
(function).
block-header-previous-block-hash
(reader).
(setf block-header-previous-block-hash)
(writer).
block-header-timestamp
(reader).
(setf block-header-timestamp)
(writer).
block-header-version
(reader).
(setf block-header-version)
(writer).
cblock-p
(function).
copy-block-header
(function).
copy-cblock
(function).
make-block-header
(function).
make-cblock
(function).
bp/core/merkletree
bp/core/encoding
.
bp/core/transaction
.
bp/crypto/hash
.
common-lisp
.
build-merkle-tree
(function).
merkle-tree-node
(structure).
merkle-tree-node-hash
(reader).
(setf merkle-tree-node-hash)
(writer).
copy-merkle-tree-node
(function).
make-merkle-tree-node
(function).
merkle-tree-node-left
(reader).
(setf merkle-tree-node-left)
(writer).
merkle-tree-node-p
(function).
merkle-tree-node-right
(reader).
(setf merkle-tree-node-right)
(writer).
bp/crypto/secp256k1
secp256k1
bp/crypto/random
.
cffi
.
common-lisp
.
ironclad
.
context-create-none
(function).
context-create-sign
(function).
context-create-verify
(function).
ec-privkey-negate
(function).
ec-pubkey-create
(function).
ec-pubkey-negate
(function).
ec-pubkey-parse
(function).
ec-pubkey-serialize
(function).
ec-seckey-verify
(function).
ecdsa-sign
(function).
ecdsa-signature-normalize
(function).
ecdsa-signature-parse-compact
(function).
ecdsa-signature-parse-der
(function).
ecdsa-signature-serialize-compact
(function).
ecdsa-signature-serialize-der
(function).
ecdsa-verify
(function).
key
(structure).
make-key
(function).
make-pubkey
(function).
make-signature
(function).
parse-pubkey
(function).
parse-signature
(function).
pubkey
(structure).
serialize-pubkey
(function).
serialize-signature
(function).
signature
(structure).
verify-signature
(function).
%make-key
(function).
%make-pubkey
(function).
%make-signature
(function).
*context-none*
(special variable).
*context-sign*
(special variable).
*context-verify*
(special variable).
+secp256k1-context-none+
(constant).
+secp256k1-context-sign+
(constant).
+secp256k1-context-verify+
(constant).
+secp256k1-ec-compressed+
(constant).
+secp256k1-ec-uncompressed+
(constant).
+secp256k1-flags-bit-compression+
(constant).
+secp256k1-flags-bit-context-sign+
(constant).
+secp256k1-flags-bit-context-verify+
(constant).
+secp256k1-flags-type-compression+
(constant).
+secp256k1-flags-type-context+
(constant).
+secp256k1-flags-type-mask+
(constant).
+secp256k1-tag-pubkey-even+
(constant).
+secp256k1-tag-pubkey-hybrid-even+
(constant).
+secp256k1-tag-pubkey-hybrid-odd+
(constant).
+secp256k1-tag-pubkey-odd+
(constant).
+secp256k1-tag-pubkey-uncompressed+
(constant).
bytes-from-foreign
(macro).
bytes-to-foreign
(macro).
copy-key
(function).
copy-pubkey
(function).
copy-signature
(function).
ecdsa-signature-parse-der-lax
(function).
key-bytes
(reader).
(setf key-bytes)
(writer).
key-p
(function).
pubkey-bytes
(reader).
(setf pubkey-bytes)
(writer).
pubkey-p
(function).
secp256k1-context-clone
(function).
secp256k1-context-create
(function).
secp256k1-context-destroy
(function).
secp256k1-context-randomize
(function).
secp256k1-ec-privkey-negate
(function).
secp256k1-ec-privkey-tweak-add
(function).
secp256k1-ec-privkey-tweak-mul
(function).
secp256k1-ec-pubkey-combine
(function).
secp256k1-ec-pubkey-create
(function).
secp256k1-ec-pubkey-negate
(function).
secp256k1-ec-pubkey-parse
(function).
secp256k1-ec-pubkey-serialize
(function).
secp256k1-ec-pubkey-tweak-add
(function).
secp256k1-ec-pubkey-tweak-mul
(function).
secp256k1-ec-seckey-verify
(function).
secp256k1-ecdsa-sign
(function).
secp256k1-ecdsa-signature-normalize
(function).
secp256k1-ecdsa-signature-parse-compact
(function).
secp256k1-ecdsa-signature-parse-der
(function).
secp256k1-ecdsa-signature-serialize-compact
(function).
secp256k1-ecdsa-signature-serialize-der
(function).
secp256k1-ecdsa-signature-tclass
(class).
secp256k1-ecdsa-verify
(function).
secp256k1-pubkey-tclass
(class).
secp256k1-scratch-space-create
(function).
secp256k1-scratch-space-destroy
(function).
signature-bytes
(reader).
(setf signature-bytes)
(writer).
signature-p
(function).
bp/core/consensus
validate
(generic function).
validation-context
(class).
validp
(function).
+sighash-all+
(constant).
+sighash-anyonecanpay+
(constant).
+sighash-none+
(constant).
+sighash-single+
(constant).
@block
(generic reader).
(setf @block)
(generic writer).
@height
(generic reader).
(setf @height)
(generic writer).
@tx
(generic reader).
(setf @tx)
(generic writer).
@tx-index
(generic reader).
(setf @tx-index)
(generic writer).
@txin
(generic reader).
(setf @txin)
(generic writer).
@txin-index
(generic reader).
(setf @txin-index)
(generic writer).
@txout
(generic reader).
(setf @txout)
(generic writer).
@txout-index
(generic reader).
(setf @txout-index)
(generic writer).
bits-to-target
(function).
block-difficulty
(function).
block-fee
(function).
block-target
(function).
ensure-validation-context
(macro).
extend-validation-context
(function).
get-transaction-output
(function).
tx-coinbase
(function).
tx-fee
(function).
tx-outputs-hash
(function).
tx-previous-outputs-hash
(function).
tx-sequence-hash
(function).
tx-sighash
(function).
tx-sighash-base
(function).
tx-sighash-witness-v0
(function).
txin-amount
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Number of blocks in between halving events - each 210000 blocks, the block reward is reduced by half, eventually getting to 0 and providing the limited supply property of Bitcoin.
Initial reward included in newly mined blocks.
Any data of with this number may be ignored.
Hash is related to a data block.
Hash of a block header; identical to MSG_BLOCK. Only to be used in getdata message. Indicates the reply should be a cmpctblock message. See BIP-0152 for more info.
Hash of a block header; identical to MSG_BLOCK. Only to be used in getdata message. Indicates the reply should be a merkleblock message rather than a block message; this only works if a bloom filter has been set.
Hash is related to a transaction.
Block timestamp at which BIP-0016 was adopted by the mainnet.
See BIP-0111.
See BIP-0064.
This service flag means that given node can serve full blocks instead of just headers.
See BIP-0159.
See BIP-0111.
Block timestamp at which BIP-0016 was adopted by the testnet.
Pay to Script Hash https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki.
Segregated Witness (Consensus layer) https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki.
Taproot: SegWit version 1 spending rules https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki.
Version of the BP package.
Global chain supplier bound by the WITH-CHAIN-SUPPLIER context manager.
Dynamic variable to control printing the steps of script execution. If its value is not NIL, it will be used as a first argument to the FORMAT function for logging script steps (i.e. setting it to T will print the trace to *STANDARD-OUTPUT*, while setting it to a stream value will write the trace to that stream).
Helper macro for generating the normalization if the entity
identifier (block height, block hash and transaction id) and
post-processing (encoding, decoding and error signalling) for the
chain supplier API implementations.
ID-VAR is an entity identifier variable, which will be normalized to a
hex-string, byte array or left unchanged if the value of ID-TYPE is
:ENCODED, :DECODED or :AS-IS respectively.
ENCODED-VAR corresponds to ENCODED chain supplier parameter - it will
be used in combination with BODY-TYPE argument to determine if the
result of the BODY should be encoded, decoded (as an ENTITY-TYPE
entity in the latter case) or left as-is.
ERROPR-VAR corresponds to the ERRORP chain supplier parameter - it will be used to either return NIL or signal a corresponding error if the body returns NIL. If ERROR-TYPE is non-NIL, it will be used instead of the default error type.
Decode a BASE58-encoded string and return a byte array.
Encode a byte array with BASE58 and return a resulting string.
Decode a BASE58-encoded string STRING, verify that the last 4 bytes (checksum part) match the first 4 bytes of the double-SHA256 hash of all but the last 4 bytes of the original sequence (payload part) and return the payload part.
BASE58-encode a byte array BYTES (payload) followed by the checksum computed as first 4 bytes of the double-SHA256 hash of the payload.
Build merkle tree from the list of transactions LEAVES by taking a current tree level (starting from LEAVES), completing it to the even number of elements, grouping it into pairs and constructing the next level until it has length 1. Return a resulting root node.
Return a string command for a given message struct.
Decode Bitcoin Protocol entity given by its class name ENTITY-CLASS from hex STRING.
Create an ECDSA signature.
Verify an ECDSA signature.
Encode Bitcoin Protocol ENTITY into a hex string.
Execute a script using a state that can be provided externally.
Execute SCRIPT-SIG and SCRIPT-PUBKEY in succession, preserving the stack and performing the special rule detection (P2SH, SegWit).
Shortcut to avoid using long symbol IRONCLAD:HEX-STRING-TO-BYTE-ARRAY.
Shortcut to avoid using long symbol IRONCLAD:BYTE-ARRAY-TO-HEX-STRING.
hash
.
type
.
hash
.
Return a message type symbol for a given string command.
port
.
Construct a SCRIPT object from a sequence of Lisp objects, doing the best effort to detect/convert the provided values.
If given script is standard, return a common name for the script type (:P2SH, :P2PKH, :P2WSH, etc) or T, otherwise return NIL. Additionally, if the address format is defined for that type of script, return a Bitcoin address for a given script as a second value.
Raw transaction ID is a double SHA256 of its binary serialization.
Return hex-encoded txid - little-endian hash of the transaction serialization without witness structures.
Return INDEXth input of the given transaction.
tx
.
Return INDEXth output of the given transaction.
Return hex-encoded wtxid - little-endian hash of the transaction serialization including witness structures.
Return INDEXth witness of the given transaction if it is a SegWit transaction, otherwise return NIL.
Return T if the ENTITY is valid, NIL otherwise.
block-header
)) ¶block-header
)) ¶block-header
)) ¶block-header
)) ¶block-header
)) ¶block-header
)) ¶block-header
)) ¶Get raw block data from SUPPLIER by its HASH. HASH
can be either a hex-encoded string or a byte array. If ENCODED is
non-NIL, returns a hex-encoded string, otherwise returns CBLOCK
object. If there is no block with the given HASH, return NIL or signal
an UNKNOWN-BLOCK-ERROR error, depending on the ERRORP value.
node-rpc-connection
) hash &key encoded errorp) ¶simple-node
) hash &key encoded errorp) ¶Get the hash of the block from SUPPLIER by its
HEIGHT in the chain. HEIGHT must be an integer. If ENCODED is non-NIL,
returns a hex-encoded string, otherwise returns a raw id represented
as byte array. If there is no known block at the given HEIGHT, return
NIL or signal an UNKNOWN-BLOCK-HASH-ERROR error, depending on the
ERRORP value.
node-rpc-connection
) height &key encoded errorp) ¶simple-node
) height &key encoded errorp) ¶Get raw transaction data from SUPPLIER by its
ID. ID can be either a hex-encoded string or a byte array. If ENCODED
is non-NIL, returns a hex-encoded string, otherwise returns TX
object. If there is no transaction with a given ID, return NIL or
signal an UNKNOWN-TRANSACTION-ERROR error, depending on the ERRORP
value.
node-rpc-connection
) id &key encoded errorp) ¶simple-node
) id &key encoded errorp) ¶Return NIL if SUPPLIER’s network is :MAINNET and T otherwise.
simple-node
) &key host port) ¶simple-node
) (peer peer
)) ¶simple-node
) (peer (eql :all)
)) ¶simple-node
) (peer peer
) (message ping-message
)) ¶simple-node
) (peer peer
) message) ¶simple-node
)) ¶automatically generated reader method
host
.
simple-node
)) ¶automatically generated writer method
host
.
simple-node
)) ¶automatically generated reader method
port
.
simple-node
)) ¶automatically generated writer method
port
.
Parse bytes from the STREAM into an instance of the class named ENTITY-CLASS.
(eql bp/net/message:blocktxn-message)
) stream) ¶(eql bp/net/message:getblocktxn-message)
) stream) ¶(eql bp/net/message:cmpctblock-message)
) stream) ¶(eql bp/net/message:sendcmpct-message)
) stream) ¶(eql bp/net/message:feefilter-message)
) stream) ¶(eql bp/net/message:sendheaders-message)
) stream) ¶(eql bp/net/message:alert-message)
) stream) ¶(eql bp/net/message:merkleblock-message)
) stream) ¶(eql bp/net/message:filterclear-message)
) stream) ¶(eql bp/net/message:filteradd-message)
) stream) ¶(eql bp/net/message:filterload-message)
) stream) ¶(eql bp/net/message:reject-message)
) stream) ¶(eql bp/net/message:pong-message)
) stream) ¶(eql bp/net/message:ping-message)
) stream) ¶(eql bp/net/message:reply-message)
) stream) ¶(eql bp/net/message:submitorder-message)
) stream) ¶(eql bp/net/message:checkorder-message)
) stream) ¶(eql bp/net/message:mempool-message)
) stream) ¶(eql bp/net/message:getaddr-message)
) stream) ¶(eql bp/net/message:headers-message)
) stream) ¶(eql bp/net/message:block-message)
) stream) ¶(eql bp/net/message:tx-message)
) stream) ¶(eql bp/net/message:getheaders-message)
) stream) ¶(eql bp/net/message:getblocks-message)
) stream) ¶(eql bp/net/message:notfound-message)
) stream) ¶(eql bp/net/message:getdata-message)
) stream) ¶(eql bp/net/message:inv-message)
) stream) ¶(eql bp/net/message:addr-message)
) stream) ¶(eql bp/net/message:verack-message)
) stream) ¶(eql bp/net/message:version-message)
) stream) ¶(eql bp/net/message:inventory-vector)
) stream) ¶(eql bp/net/message:network-address)
) stream) ¶(eql bp/net/message:packet)
) stream) ¶(eql bp/core/block:cblock)
) stream) ¶(eql bp/core/block:block-header)
) stream) ¶(eql bp/core/transaction:witness)
) stream) ¶(eql bp/core/transaction:txout)
) stream) ¶(eql bp/core/transaction:txin)
) stream) ¶(eql bp/core/transaction:tx)
) stream) ¶(eql bp/core/script:script)
) stream) ¶simple-node
) (peer peer
)) ¶simple-node
) peer message-type) ¶simple-node
) (peer peer
) message) ¶Serialize ENTITY into the stream.
blocktxn-message
) stream) ¶getblocktxn-message
) stream) ¶cmpctblock-message
) stream) ¶sendcmpct-message
) stream) ¶feefilter-message
) stream) ¶sendheaders-message
) stream) ¶alert-message
) stream) ¶merkleblock-message
) stream) ¶filterclear-message
) stream) ¶filteradd-message
) stream) ¶filterload-message
) stream) ¶reject-message
) stream) ¶pong-message
) stream) ¶ping-message
) stream) ¶reply-message
) stream) ¶submitorder-message
) stream) ¶checkorder-message
) stream) ¶mempool-message
) stream) ¶getaddr-message
) stream) ¶headers-message
) stream) ¶block-message
) stream) ¶tx-message
) stream) ¶getheaders-message
) stream) ¶getblocks-message
) stream) ¶notfound-message
) stream) ¶getdata-message
) stream) ¶inv-message
) stream) ¶addr-message
) stream) ¶verack-message
) stream) ¶version-message
) stream) ¶inventory-vector
) stream) ¶network-address
) stream) ¶block-header
) stream) ¶unknown-block-error
)) ¶unknown-block-error
)) ¶hash
.
unknown-block-hash-error
)) ¶unknown-block-hash-error
)) ¶unknown-transaction-error
)) ¶unknown-transaction-error
)) ¶id
.
Validate entity according to the Bitcoin Protocol
consensus rules, throw an error if an entity is invalid for any reason.
block-header
) &key context) ¶simple-node
) &key peer) ¶node-connection
) &rest args) ¶script-non-standard-error
) stream) ¶block-header
) stream) ¶common-lisp
.
:character
error
.
(quote "rpc connection error: rpc code ~a (~a)")
:hash
:height
simple-error
.
:id
structure-object
.
structure-object
.
structure-object
.
common-lisp
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
structure-object
.
Network marker (one of :MAINNET, :TESTNET, :REGTEST).
:mainnet
:network
:mainnet
:network
Simple Bitcoin network node communicating with a single peer via peer-2-peer gossip protocol.
Structure for storing additional information needed during entity validation.
:height
:block
:tx-index
:txin
:txin-index
:txout
:txout-index
DNS seed is a list of hardcoded host names for Bitcoin nodes that can accept new connections when bootstrapping new nodes.
Mapping from message types (symbols) to message commands (strings).
Mapping from commands (strings) to message types (symbols).
Table mapping opcodes to pairs (<list of opcode-names> . <function>).
Table mapping opcode names to pairs (<code> . <function>).
If non-NIL, the script will be printed without Lisp object wrapping.
Define two functions for encoding/decoding digits of a given encoding scheme named <NAME>-ENCODE-DIGIT and <NAME>-DECODE-DIGIT respective.
Define opcode function named OP-NAME for a given OP-CODE. OP-HEX-CODE is ignored and used only for documentation purposes.
Ensure CONTEXT-SYM is bound to the VALIDATION-CONTEXT object before executing the BODY.
A command is considered executable if current branch is an
executable one (i.e. the current code path does not contain false
conditions), or it is a branching command.
For this purpose, OP_IF pushes its condition to CONDITIONS stack in
script state (OP_NOTIF pushes an inverted condition), OP_ELSE inverts
the top condition in CONDITIONS, while OP_ENDIF simply pops the top
condition. For OP_ELSE/OP_ENDIF commands, empty CONDITIONS stack means
that the branching construction is unbalanced.
This follows the implementation of script interpreter in Bitcoin Core.
Verify checksum using the both Bech32 and Bech32m constants. Return the detected encoding or NIL if neither match.
bits
.
If a given script command is a simple integer data push command, return the corresponding integer, otherwise return ‘nil‘.
Convert from one power-of-2 number base to another. Feed each digit to the function OUTPUT-FN. We only need this to work for octets for now. A direct translation from Bitcoin Core’s ‘ConvertBits‘ function in ‘util/strencoding.h‘.
This function is taken from the libsecp256k1 distribution and implements DER parsing for ECDSA signatures, while supporting an arbitrary subset of format violations (see Bitcoin’s pubkey.cpp).
Create a new VALIDATION-CONTEXT object from the given one and extend it with additional data if supplied.
Get txout described by its transaction ID and output index. Will signal an error if the transaction is unknown or does not have the output with given index. Assumes chain supplier context.
Make a new command. Argument ‘payload‘ should only be provided for ‘OP_PUSH*‘ and ‘OP_PUSHDATA*‘ commands, argument ‘payload-length‘ - only for ‘OP_PUSHDATA*‘ commands.
left
.
Check if given SCRIPT-PUBKEY is a NULL DATA script.
An empty array of bytes is pushed onto the stack. (This is not a no-op: an item is added to the stack.)
Returns 0 if the input is 0. 1 otherwise.
The number 1 is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
1 is added to the input.
The number -1 is pushed onto the stack.
1 is subtracted from the input.
The number in the word name (2-16) is pushed onto the stack.
The input is divided by 2.
Removes the top two stack items.
Duplicates the top two stack items.
The input is multiplied by 2.
Copies the pair of items two spaces back in the stack to the front.
The fifth and sixth items back are moved to the top of the stack.
Swaps the top two pairs of items.
The number in the word name (2-16) is pushed onto the stack.
Duplicates the top three stack items.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The number in the word name (2-16) is pushed onto the stack.
The input is made positive.
a is added to b.
Boolean and between each bit in the inputs.
If both a and b are not 0, the output is 1. Otherwise 0.
If a or b is not 0, the output is 1. Otherwise 0.
Concatenates two strings.
Marks transaction as invalid if the top stack item is greater than the transaction’s nLockTime field, otherwise script evaluation continues as though an OP_NOP was executed. Transaction is also invalid if 1. the stack is empty; or 2. the top stack item is negative; or 3. the top stack item is greater than or equal to 500000000 while the transaction’s nLockTime field is less than 500000000, or vice versa; or 4. the input’s nSequence field is equal to #xffffffff. The precise semantics are described in BIP 0065.
Compares the first signature against each public key until it finds an ECDSA match. Starting with the subsequent public key, it compares the second signature against each remaining public key until it finds an ECDSA match. The process is repeated until all signatures have been checked or not enough public keys remain to produce a successful result. All signatures need to match a public key. Because public keys are not checked again if they fail any signature comparison, signatures must be placed in the scriptSig using the same order as their corresponding public keys were placed in the scriptPubKey or redeemScript. If all signatures are valid, 1 is returned, 0 otherwise. Due to a bug, one extra unused value is removed from the stack.
Same as OP_CHECKMULTISIG, but OP_VERIFY is executed afterward.
Marks transaction as invalid if the relative lock time of the input (enforced by BIP 0068 with nSequence) is not equal to or longer than the value of the top stack item. The precise semantics are described in BIP 0112.
The entire transaction’s outputs, inputs, and script (from the most recently-executed OP_CODESEPARATOR to the end) are hashed. The signature used by OP_CHECKSIG must be a valid signature for this hash and public key. If it is, 1 is returned, 0 otherwise.
Same as OP_CHECKSIG, but OP_VERIFY is executed afterward.
All of the signature checking words will only match signatures to the data after the most recently-executed OP_CODESEPARATOR.
Puts the number of stack items onto the stack.
a is divided by b.
Removes the top stack item.
Duplicates the top stack item.
If the preceding OP_IF or OP_NOTIF or OP_ELSE was not executed then these statements are and if the preceding OP_IF or OP_NOTIF or OP_ELSE was executed then these statements are not. See @EXECP for more details on how branching works.
Ends an if/else block. All blocks must end, or the transaction is invalid. An OP_ENDIF without OP_IF earlier is also invalid. See @EXECP for more details on how branching works.
Returns 1 if the inputs are exactly equal, 0 otherwise.
Same as OP_EQUAL, but runs OP_VERIFY afterward.
Puts the input onto the top of the main stack. Removes it from the alt stack.
Returns 1 if a is greater than b, 0 otherwise.
Returns 1 if a is greater than or equal to b, 0 otherwise.
The input is hashed twice: first with SHA-256 and then with RIPEMD-160.
The input is hashed two times with SHA-256.
If the top stack value is not False, the statements are
executed. The top stack value is removed. See @EXECP for more details
on how branching works.
If the top stack value is not 0, duplicate it.
Matches any opcode that is not yet assigned.
Flips all of the bits in the input.
Keeps only characters left of the specified point in a string.
Returns 1 if a is less than b, 0 otherwise.
Returns 1 if a is less than or equal to b, 0 otherwise.
Shifts a left b bits, preserving sign.
Returns the larger of a and b.
Returns the smaller of a and b.
Returns the remainder after dividing a by b.
a is multiplied by b.
The sign of the input is flipped.
Removes the second-to-top stack item.
Does nothing.
The word is ignored. Does not mark transaction as invalid.
The word is ignored. Does not mark transaction as invalid.
The word is ignored. Does not mark transaction as invalid.
The word is ignored. Does not mark transaction as invalid.
The word is ignored. Does not mark transaction as invalid.
The word is ignored. Does not mark transaction as invalid.
The word is ignored. Does not mark transaction as invalid.
The word is ignored. Does not mark transaction as invalid.
If the input is 0 or 1, it is flipped. Otherwise the output will be 0.
If the top stack value is False, the statements are executed. The top stack value is removed. See @EXECP for more details on how branching works.
Returns 1 if the numbers are equal, 0 otherwise.
Same as OP_NUMEQUAL, but runs OP_VERIFY afterward.
Returns 1 if the numbers are not equal, 0 otherwise.
Boolean or between each bit in the inputs.
Copies the second-to-top stack item to the top.
The item n back in the stack is copied to the top.
Represents a public key compatible with OP_CHECKSIG.
Represents a public key hashed with OP_HASH160.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next opcode bytes is data to be pushed onto the stack.
The next byte contains the number of bytes to be pushed onto the stack.
The next two bytes contain the number of bytes to be pushed onto the stack in little endian order.
The next four bytes contain the number of bytes to be pushed onto the stack in little endian order.
Transaction is invalid unless occuring in an unexecuted OP_IF branch.
Transaction is invalid unless occuring in an unexecuted OP_IF branch.
Transaction is invalid unless occuring in an unexecuted OP_IF branch.
Marks transaction as invalid. Since bitcoin 0.9, a standard way of attaching extra data to transactions is to add a zero-value output with a scriptPubKey consisting of OP_RETURN followed by data. Such outputs are provably unspendable and specially discarded from storage in the UTXO set, reducing their cost to the network. Since 0.12, standard relay rules allow a single output with OP_RETURN, that contains any sequence of push statements (or OP_RESERVED[1]) after the OP_RETURN provided the total scriptPubKey length is at most 83 bytes.
Keeps only characters right of t