Bitcoin Forum
November 07, 2024, 02:15:56 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to Do CPFP?  (Read 699 times)
Machina_US (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
May 21, 2017, 09:28:42 PM
 #1

Hello i just know about CPFP (Child Pay For Parent)
how to do that ? will i need to be a sender or receiver ?

Shiroslullaby
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
May 21, 2017, 09:49:52 PM
 #2

How was the payment sent?
Some wallets (I use Electrum right now) have an option when you select an unconfirmed-transaction to do CPFP.

There are also websites that offer "accelerator" services but I'm not 100% sure how they work. I'm sure there is someone here with experience using them.

onnz423
Hero Member
*****
Offline Offline

Activity: 840
Merit: 508


Make winning bets on sports with Sportsbet.io!


View Profile
May 22, 2017, 12:07:27 AM
 #3

You'll need to be the receiver to do CPFP. Basically you spend unconfirmed coins with higher fee, so the pool who mines the block will mine both of the transactions at the same time.
This can be costly, depending on the amount of inputs on the transaction. Which wallet are you using?
You can try ViaBTC's tool to accelerate transaction. Basically it works by just submitting your txid (be fast, the counter resets every hour on x.00), and then the transaction will be included in the next block that they mine. It is really simple to use.

   ▄▄██████▄▄
  ████████████
███▄▄
 ██████████████▀▀▀██▄
████████████████   ▀██▄
████████████████     ▀██
██████████████       ██▌
██████████████        ▐██
██▌▀▀██████▀▀         ▐██
▐██                   ██▌
 ██▄                 ▄██
  ▀██▄             ▄██▀
    ▀██▄▄▄     ▄▄▄██▀
      ▀▀█████████▀▀





███████████████████████████
████████▀▀       ▀▀████████
█████▀   ▄ ▀███▀ ▄   ▀█████
████  ▄████▄ ▀ ▄████▄  ████
███  ▄ ▀███▀ ▄ ▀███▀ ▄  ███
██  ▄██ ▀▀ ▄███▄ ▀▀ ██▄  ██
██  █▀ ▄█ ███████ █▄ ▀█  ██
██   ▄███▄ █████ ▄███▄   ██
███  ████▀ ▄▄▄▄▄ ▀████  ███
████  ▀ ▄ ▀█████▀ ▄ ▀  ████
█████▄  ▀▀▄ ███ ▄▀▀  ▄█████
████████▄▄       ▄▄████████
███████████████████████████





█▀▀











█▄▄
▀▀█











▄▄█
█▀▀











█▄▄
▀▀█











▄▄█
Abdussamad
Legendary
*
Offline Offline

Activity: 3682
Merit: 1580



View Profile
May 22, 2017, 12:19:54 AM
 #4

both sender and receiver can do it. you can always do it if you are the receiver. you can do it if you are the sender and some change was sent back to a change address in your wallet (most txs have change).

To do it in electrum follow this guide:

https://bitcointalk.org/index.php?topic=1916963.msg19015496#msg19015496
D ltr
Sr. Member
****
Offline Offline

Activity: 1401
Merit: 258


Vave.com - Crypto Casino


View Profile
May 22, 2017, 04:00:19 AM
 #5

Hello i just know about CPFP (Child Pay For Parent)
how to do that ? will i need to be a sender or receiver ?

i see a post in the youtube regarding this, here the link https://www.youtube.com/watch?v=dUJyfz0QQXw

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
May 22, 2017, 06:46:15 AM
 #6

i see a post in the youtube regarding this, here the link https://www.youtube.com/watch?v=dUJyfz0QQXw
A pretty good little tutorial that explains nicely what you need to do... EXCEPT he made one really critical error... he forgot to take into account the size and fee of the first transaction. When doing CPFP you need to calculate as:

Average sats/byte fee = (Trans1Fee + Trans2Fee) / (Trans1Size + Trans2Size)

If your average sats/byte fee is not high enough, the CPFP might fail... and you'll end up with two unconfirmed transactions! :-/

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Abdussamad
Legendary
*
Offline Offline

Activity: 3682
Merit: 1580



View Profile
May 22, 2017, 05:04:08 PM
 #7

i see a post in the youtube regarding this, here the link https://www.youtube.com/watch?v=dUJyfz0QQXw
A pretty good little tutorial that explains nicely what you need to do... EXCEPT he made one really critical error... he forgot to take into account the size and fee of the first transaction. When doing CPFP you need to calculate as:

Average sats/byte fee = (Trans1Fee + Trans2Fee) / (Trans1Size + Trans2Size)

If your average sats/byte fee is not high enough, the CPFP might fail... and you'll end up with two unconfirmed transactions! :-/

Your guys are overcomplicating it. No one expects the user to calculate fees manually. The CPFP window displays a slider that you use to fine tune the fee. That's it. You don't have to do anything more. Also FYI that fee setting in the CPFP window takes into account both transactions.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
May 23, 2017, 12:24:06 AM
 #8

Your guys are overcomplicating it. No one expects the user to calculate fees manually. The CPFP window displays a slider that you use to fine tune the fee. That's it. You don't have to do anything more. Also FYI that fee setting in the CPFP window takes into account both transactions.
Assuming you are using a wallet that actually has CPFP functionality built in... not everyone can or wants to use Electrum.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!