bisq-network / support

@bisq-network user support issues
https://bisq.wiki/User_support
19 stars 12 forks source link

Batch Reimbursement #1461

Closed leo816 closed 9 months ago

leo816 commented 1 year ago

Previous batch reimbursement #1435

leo816 commented 1 year ago

The batch transaction with txid 8dec74faf85616543cc291f57c5d5ebb39812f438e39cee8deffc35f6a24b43b

has been broadcast and should be included in blocks soon.

Screen Shot 2023-08-24 at 12 02 10

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.