Full stack Bitcoin software
Jan 4, 2019
Home
Getting Started
Download BS
Quick Start
Configuration
Settings Reference
Platform Coverage
Build Status
Building
Packages
Performance
Sync BS
Footprint
Computation
Interfaces
Architecture
Overview
System
Database
Network
Node
Server
Explorer
Build
Test
Server
BS Interfaces
Admin Console
Native REST
Electrum
Sparrow
Bitcoin P2P
Bitcoind JSON-RPC
Bitcoind REST
Bitcoind ZMQ
BTCD
Esplora
Stratum v1
Stratum v2
Client
BX Commands
Developers
Overview
Contributing
Style Guide
Test Practices
About
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 🙂