Commit Graph

4 Commits

Author SHA1 Message Date
Peter Sanderson
55d663ca2d chore: add recommanded checks from eslint-plugin-jest
chore: use jest/valid-describe-callback as it has only 2 places that fails, so I ignored them in-code
2024-11-06 14:18:07 +01:00
Szymon Lesisz
57f45d4cde chore: replace deprecated String.subst with Sting.substing 2023-08-31 20:34:57 +02:00
Szymon Lesisz
814caeaa91 chore: replace deprecated Buffer.slice with Buffer.subarray 2023-08-31 20:34:57 +02:00
Szymon Lesisz
05e1d95d1a feat(utxo-lib): add bufferutils module
upstream: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/ts_src/bufferutils.ts
fork: https://github.com/trezor/trezor-utxo-lib/blob/trezor/src/bufferutils.js

differences:
- added `BufferReader` "readInt64", "readUInt16" and "readUInt64String" methods.
- added `BufferWritter` "writeInt64", "writeUInt16" methods.
- `BufferWritter.writeUInt64` is accepting string or number.
2021-11-04 12:29:05 +01:00