[bisq-network/support] Batch Reimbursement (#1006)

leo816 notifications at github.com
Tue Sep 21 12:34:27 CEST 2021


The batch transaction with txid
[30df521d414d77778342fa51837a5e413f0647d3a38db22c9c7142cce265fd00](https://blockstream.info/tx/30df521d414d77778342fa51837a5e413f0647d3a38db22c9c7142cce265fd00
<img width="1183" alt="Screen Shot 2021-08-29 at 13 49 39" src="https://user-images.githubusercontent.com/54798241/131249360-1433315b-e2eb-4fd3-80b0-6cb3909d747e.png">


)

 has been broadcast and should be included in blocks in a few days.


The following process could not be carried out due to some incorrect payouts in the past. The payout was made manually by introducing each bitcoin address provided by each user and introducing the corresponding amount of fees:

The transaction was created against support-703.csv file at the root of this repo at commit b5414de. The csv file for creating electrum transaction was created with the following command:

`$ gawk -F, '{ addresses[$3] += $4+$5 } END { for (address in addresses) printf "%s,%f\n", address, addresses[address]}' support-515.csv |grep -v address > reimbursement.csv`

This prints out addresses to reimburse (column 3) and sums up the trading and mining fee per address (column 4 and 5). As there are payouts to the same address the script sums them up so there is only one line in the csv file, reducing the resulting transaction size and fee. The command also eliminates the header line.

The resulting csv file was fed to Electrum in the Send screen using the Tools -> Pay to many menu option.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/support/issues/1006#issuecomment-923851990
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210921/5dc2c666/attachment.htm>


More information about the bisq-github mailing list