Skip to content

Change the dust size to use the standard 5430 satoshis#24

Open
deweller wants to merge 1 commit intoloon3:masterfrom
deweller:dw-standard-dust-size
Open

Change the dust size to use the standard 5430 satoshis#24
deweller wants to merge 1 commit intoloon3:masterfrom
deweller:dw-standard-dust-size

Conversation

@deweller
Copy link
Contributor

Swapbots will choose UTXOs with exactly 5430 satoshis in order to construct swap transactions that require no change transactions. This creates smaller transactions, gives better confirmation times for users and will ultimately allow us to use lower fees on outbound swaps.

If Pockets sends UTXOs with 5470 satoshis, then more swaps will generate change UTXOs when these are spent due to the extra 40 satoshis that need to be sent back as change.

…actions.

Swapbots will choose UTXOs with exactly 5430 satoshis in order to construct swap transactions that have no change.  This saves blockchain space and gives better confirmation times for users.  If Pockets sends UTXOs with 5470 satoshis, then all of these new UTXOs will force swapbot to generate change when these are spent.
@loon3
Copy link
Owner

loon3 commented Nov 13, 2015

The Bitcore library has a dust limit of 5460 satoshis. I chose 5470 to steer clear of that limit while also creating a unique dust amount to identify txs created via Pockets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants