junderw
329809fa4a
Fix address.*OutputScript and ECPairOptions rng
6 years ago
junderw
d9cba6f176
Fixed address.ts lint
6 years ago
d-yokoi
03632f1507
style: apply prettier
6 years ago
johnta0
3fa86d0f3a
Remove unused module declaration
6 years ago
junderw
bc28949056
Commit js, ts, and definitions in separate folders
6 years ago
junderw
e58d012615
Remove safe-buffer and add type to bitcoin-ops
6 years ago
junderw
c17cdce348
Move all imports to modules where possible
6 years ago
junderw
fdf0006fde
Add strictNullChecks
6 years ago
junderw
4cddc83016
noImplicitAny is now true
6 years ago
junderw
91d3037cf3
Fix some exports
6 years ago
junderw
037fbd8984
# This is a combination of 2 commits.
# The first commit's message is:
Add types to Networks and Addresses
# This is the 2nd commit message:
Added types
6 years ago
junderw
d684a6b2ef
Fix compiler errors, tests, and scripts
6 years ago
junderw
bb98289501
Renamed files to ts
6 years ago
Daniel Cousens
6cacea6f31
rm templates export, rename to classify
6 years ago
Daniel Cousens
a5db0a4e44
sed -i 's/ var / const /', with const->let fixes
6 years ago
Daniel Cousens
91b8823aa8
sed -i 's/^var /const /'
6 years ago
Daniel Cousens
f4a83f8aed
address/txbuilder: require templates to prevent undefined exports
7 years ago
Daniel Cousens
b1272a1200
add Bech32 support to toOutputScript/fromOutputScript
7 years ago
Daniel Cousens
d1052e4996
add from/toBech32
7 years ago
Daniel Cousens
fe0ad81472
package: use safe-buffer
8 years ago
Daniel Cousens
aeb0312d63
use safe-buffers throughout impl
8 years ago
Daniel Cousens
3635a9f078
s/scriptPubKey/outputScript
8 years ago
Daniel Cousens
d9fa39a2cc
scripts: extract all scripts to encode/decode/check style
8 years ago
Daniel Cousens
a1d3e33c84
address/crypto/script/types: adhere to no-use-before-define
8 years ago
Daniel Cousens
67da1b30e3
address: fix compiled assumption for fromOutputScript
9 years ago
Daniel Cousens
d48a7ab682
address: avoid unnecessary unchunking
9 years ago
Daniel Cousens
146bc8e11a
address: re-use fromBase58Check internally
9 years ago
Daniel Cousens
8934de591c
use baddress/bcrypto/bscript for ambuigities
9 years ago
Daniel Cousens
6ec687deba
rename scripts to script
9 years ago
Daniel Cousens
e2abe2b3af
merge Script/scripts
9 years ago
Daniel Cousens
812d74aa0a
coerce wherever necessary for now
9 years ago
Daniel Cousens
e05f8a542d
remove Script object
9 years ago
Daniel Cousens
e743c58ed6
remove usage of instanced Scripts
9 years ago
Daniel Cousens
fd7f0b0ef8
address: use input first errors, easier detection
9 years ago
Daniel Cousens
254b670427
add types
9 years ago
Daniel Cousens
f5d99d8f8a
address: remove network detection
9 years ago
Daniel Cousens
1a4000cc98
address: throw Invalid address instead of hash/version for fromBase58Check
9 years ago
Daniel Cousens
13f414c122
remove Address constructor
9 years ago
Daniel Cousens
97c4de9da6
*: throw new Error over assert(false, ...
9 years ago
Daniel Cousens
399803affa
use standardjs formatting
10 years ago
Daniel Cousens
c13f1df9bf
doc: no section headers
10 years ago
Daniel Cousens
e42c497a3c
package: use typeforce
10 years ago
Daniel Cousens
4fe0b34f27
Address: no need to check other script types
10 years ago
Daniel Cousens
35542e115d
types: enforce consistent type checking
10 years ago
Daniel Cousens
13c2d377e7
package: use bs58check
10 years ago
Daniel Cousens
92da7975e4
Network: use capitalization
10 years ago
Daniel Cousens
553ade1208
network: always use lowercase
11 years ago
Daniel Cousens
7e5af52cd1
Transaction: mass rename from SPK/SS to Input/Output
I think it is important we maintain some reasoning that an Input script
is actually a script signature, but in the end, these names are more
coherent and understandable when reasoning with our code. So I think
its OK we break tradition with bitcoind.
11 years ago
Daniel Cousens
41c3b68293
templates: rename to scripts
11 years ago
Daniel Cousens
be29f50457
Address: fix consistent casing
11 years ago