Bitcoin full node and query server
Jan 4, 2019
Home
Server interfaces
Interface performance
Node performance
Node architecture
Database architecture
Slack
Team
View in context
in the libbitcoin Slack
#general
mirror.
vdeurzen
14:41
Why does libbitcoin split the fee between a byte fee and a sigop fee?
6 replies
· James C., vdeurzen · last Jan 04, 2019
James C.
16:26
Hi
@vdeurzen
, maybe this notebook example might help:
https://github.com/teachbitcoin/code-demos/blob/master/03_transactions_introduction/00_transaction_build_bx_example.ipynb
James C.
16:26
(github preview only available in desktop view)
James C.
16:27
Scroll down to “Compute output amount(s)”
James C.
16:28
I believe the default fee rate is set at
100 sat / sigop + 1 sat / byte
(edited)
James C.
16:31
There is both a byte (1mb) and sigops (20k) limit to blocks, so the fee should factor in both.
(edited)
vdeurzen
19:25
This helps, thx, I can use the formula you're suggesting here 🙂