Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for partially signed tx, closes echovl#38
* allow to set additional witnesses for partially signed tx preparation * change calculateMinFee to consider additional witnesses that will increase the tx length. It is still not clear how to precisely calculate the bytes for witnesses, in this implementation for each additional witnesses there will be an additional 100 bytes, (32 public key, 64 signature, 4 index/key in cbor). Those are not actually enough so we are considering 1 additional byte for each additional witness after the first.
- Loading branch information