junderw
bc28949056
Commit js, ts, and definitions in separate folders
6 years ago
junderw
d684a6b2ef
Fix compiler errors, tests, and scripts
6 years ago
Daniel Cousens
16195cc6ce
explicitly import mocha variables
7 years ago
Daniel Cousens
a5db0a4e44
sed -i 's/ var / const /', with const->let fixes
7 years ago
Daniel Cousens
91b8823aa8
sed -i 's/^var /const /'
7 years ago
Daniel Cousens
549b36bf1a
rm deprecated bufferutils
7 years ago
Daniel Cousens
f1ab151c31
tests: use safe-buffers throughout
8 years ago
Daniel Cousens
29a865788d
use varuint-bitcoin
8 years ago
Daniel Cousens
fd40232147
package: remove buffer-compare/buffer-equals
8 years ago
Daniel Cousens
731a31ecba
use buffer-reverse
9 years ago
Daniel Cousens
ec9cea0cf1
tests: use strictEqual always
10 years ago
Daniel Cousens
11bba2a8e7
tests: remove bufferutils.equal tests
10 years ago
Daniel Cousens
2f100e0eae
tests: add failing pushDataInt fixtures
10 years ago
Daniel Cousens
5beee20038
bufferutils: add equal
10 years ago
Daniel Cousens
399803affa
use standardjs formatting
10 years ago
Daniel Cousens
2214ccfdd8
bufferutils: add varIntBuffer
10 years ago
Daniel Cousens
71d4c78b88
bufferutils: add Buffer reverse
11 years ago
Daniel Cousens
5b7873d05b
bufferutils: test fixture filename copies parent
11 years ago
Daniel Cousens
b9bdf21cbe
bufferutils: use verifuint for 64 bit integers
Taken from browserify-buffer.
Also adds a few more tests to assert this is working correctly from both
read and write perspectives.
The assertion in for writePushDataInt in the 32 bit case was
unnecessary as that is handled by buffer.writeUInt32LE anyway.
11 years ago
Daniel Cousens
7e9b5d8584
bufferutils: return opcode for use
11 years ago
Daniel Cousens
bda1a8321c
bufferutils: unrolls tests and adds more 16 bit test fixtures
11 years ago
Daniel Cousens
d18f2dba00
bufferutils: add PUSHDATA implementation
11 years ago
Daniel Cousens
b2351f9026
tests: use JSON fixtures exclusively
11 years ago
Daniel Cousens
6c0eebe94b
tests: use filepaths directly
After a long IRC discussion, it was decided that the use of direct
filepaths instead of the module is a more pure form of testing ,
although it may provide less overall coverage than the mixed integration
style imports used previously.
This will need to be remedied by further integration testing in
/test/integration.
11 years ago
Daniel Cousens
7a740c2e7b
tests: forces consistent import syntax
11 years ago
Daniel Cousens
c8bda6dde6
Adds Buffer extensions
11 years ago