Bitcoin Forum
June 25, 2024, 04:26:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How pool payout to multiple users?  (Read 178 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
April 10, 2018, 04:40:34 AM
 #1

Pool payout periodically, when time come, it payout to hundreds address at once.

How pool implement this part?

Are there bitcoind (or -cli) command that can do this?

achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
April 10, 2018, 05:23:59 AM
 #2

If you are using Bitcoin Core, you use the sendmany command to send to multiple recipients (note that this applies to more than just mining pools).

bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
April 10, 2018, 08:59:01 AM
Merited by achow101 (2), ABCbits (2)
 #3

A Bitcoin transaction consists of Inputs and Outputs. Inputs of a transaction are unspent transaction outputs from previous transactions.
A transaction can be made of multiple inputs and multiple outputs.

In fact, you can chose as much inputs/outputs as you want (as long the size of the TX is smaller than 100Kb - i think).

Electrum for example lets you easily send coins to many addresses within the GUI.


For the sendmany command mentioned by achow101, you can look up the syntax here: http://chainquery.com/bitcoin-api/sendmany


An example:

Code:
bitcoin-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}"

This command sends 0.01 btc to 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX and 0.02 btc to 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz.

nc50lc
Legendary
*
Online Online

Activity: 2450
Merit: 5733


Self-proclaimed Genius


View Profile
April 10, 2018, 09:25:33 AM
Merited by achow101 (2), ABCbits (1)
 #4

I am sure that this thread is a continuation of his thread: When new coin mined, if some address receives share of it.
That's why he mentioned "How Pool implement this part?"

What they answered you is "How to send Bitcoin to two or more addresses" because of the incomplete/incomprehensible information you provided in the OP.

Sorry to day this but, I'm noticing a lot of thread started by you here in the D&TD Board which seems like in broken pieces or in continuation of the rest of it.
My advice for you is to read the rest of the Bitcoin Wiki and compile all your related questions in one thread, ask a follow-up reply if you need more information.
You can always bump the thread every 24hrs if you need to display it in the first page as "unread" topic.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!