bitcoinjs-lib/test
Otto Allmendinger cec5fb5357
Extract BufferWriter class
Move various write methods to a class `BufferWriter`.

This allows increased code reuse for libraries that want to implement
different serialization formats.

Also de-duplicates some code paths and increases test coverage.

Original concept by idea by https://github.com/argjv:
https://github.com/BitGo/bitgo-utxo-lib/blob/master/src/bufferWriter.js
2020-01-14 15:03:14 +01:00
..
fixtures Merge pull request #1487 from bitcoinjs/addError 2019-12-11 13:41:11 +09:00
integration Merge pull request #1491 from bitcoinjs/finalizerCallback 2020-01-06 12:19:27 +09:00
address.spec.ts Move tests to TypeScript (coverage is still JS based) 2019-09-11 07:25:47 +09:00
bitcoin.core.spec.ts Add tslint to tests 2019-09-12 17:35:08 +09:00
block.spec.ts Add weight and ability to get strippedsize 2019-11-29 15:30:23 +09:00
buffer_writer.spec.ts Extract BufferWriter class 2020-01-14 15:03:14 +01:00
bufferutils.spec.ts Add tslint to tests 2019-09-12 17:35:08 +09:00
classify.spec.ts Add tslint to tests 2019-09-12 17:35:08 +09:00
crypto.spec.ts Move tests to TypeScript (coverage is still JS based) 2019-09-11 07:25:47 +09:00
ecpair.spec.ts Move tests to TypeScript (coverage is still JS based) 2019-09-11 07:25:47 +09:00
payments.spec.ts Add tslint to tests 2019-09-12 17:35:08 +09:00
payments.utils.ts Add tslint to tests 2019-09-12 17:35:08 +09:00
psbt.spec.ts chore: update type assertion 2019-09-12 17:47:39 +09:00
script.spec.ts Add tslint to tests 2019-09-12 17:35:08 +09:00
script_number.spec.ts Move tests to TypeScript (coverage is still JS based) 2019-09-11 07:25:47 +09:00
script_signature.spec.ts Add tslint to tests 2019-09-12 17:35:08 +09:00
transaction.spec.ts Add tslint to tests 2019-09-12 17:35:08 +09:00
transaction_builder.spec.ts Add tslint to tests 2019-09-12 17:35:08 +09:00
ts-node-register.js Move tests to TypeScript (coverage is still JS based) 2019-09-11 07:25:47 +09:00
tsconfig.json Move tests to TypeScript (coverage is still JS based) 2019-09-11 07:25:47 +09:00
types.spec.ts Move tests to TypeScript (coverage is still JS based) 2019-09-11 07:25:47 +09:00