Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch reimbursement #195

Closed
KanoczTomas opened this issue Jan 4, 2019 · 4 comments
Closed

Batch reimbursement #195

KanoczTomas opened this issue Jan 4, 2019 · 4 comments
Labels

Comments

@KanoczTomas
Copy link
Contributor

Previous batch reimbursement: #173

@KanoczTomas
Copy link
Contributor Author

@cbeams this batch can be processed for January. There are 60 transactions in this batch totaling 0.09307566 BTC.

@KanoczTomas
Copy link
Contributor Author

@cbeams please ignore the above comment, I will handle it!

@KanoczTomas
Copy link
Contributor Author

KanoczTomas commented Feb 1, 2019

Closing as complete. The batch transaction with txid 28373044ba11d66701cea138d9a2dcc38bcc7de4868aba780211f68ce0648e36 has been broadcast and already confirmed.

screenshot_2019-02-01_11-55-09

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

$ awk -F, '{ addresses[$3] += $4+$5 } END { for (address in addresses) printf "%s,%f\n", address, addresses[address]}' support-195.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.

@KanoczTomas
Copy link
Contributor Author

KanoczTomas commented Feb 1, 2019

All related individual reimbursement issues were bulk-closed with the following command:

$ for issue in $(ghi list|grep -i reimburs|grep -v Batch|awk -F "[ \t]+" '{print $2}');do ghi close -m "Closing as reimbursed via the batch transaction documented at https://github.com/bisq-network/support/issues/195#issuecomment-459687556" $issue; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant