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 #515

Closed
leo816 opened this issue Oct 25, 2020 · 4 comments
Closed

Batch Reimbursement #515

leo816 opened this issue Oct 25, 2020 · 4 comments

Comments

@leo816
Copy link
Contributor

leo816 commented Oct 25, 2020

Previous Batch Reimbursement: #481

@cddc123
Copy link

cddc123 commented Oct 26, 2020

I was the maker for 80891 #507 and the csv shows the reimbursement going to the taker's address

6eae8f1 line 7 should be reverted back to the original

@cmcnulty
Copy link

I was the maker for 80891 #507 and the csv shows the reimbursement going to the taker's address

6eae8f1 line 7 should be reverted back to the original

I'm the taker and I can confirm... line 8 is correctly going to acct 1AHrQN..., line 7 should be modified to go to the maker's address. (unless I'm completely misunderstanding the CSV) - as taker I was hoping to be reimbursed for amounts 0.00007000 & 0.00047880, totaling .0005488 to account starting with 1AHrQN

@leo816
Copy link
Contributor Author

leo816 commented Oct 26, 2020

I was the maker for 80891 #507 and the csv shows the reimbursement going to the taker's address

6eae8f1 line 7 should be reverted back to the original

Please contact me on Keybase at my handle @leo816

@leo816
Copy link
Contributor Author

leo816 commented Oct 26, 2020

The batch transaction with txid
418a88a665b1c3ae3af1c3edc386bd9c23d59e050836375eddce7b0530133a1b has been broadcast and should be included in blocks in a few days.

Screen Shot 2020-10-26 at 10 03 54

The transaction was created against support-515.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.

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

No branches or pull requests

3 participants