Skip to content
Snippets Groups Projects

[enh] add support for multiple outputs

Merged Cédric Moreau requested to merge c-geek/silkaj:multiple_outputs into dev

Allows Silkaj to make a transaction to multiple receivers using a new separator in --output option:

--output=<public key>[:checksum][,<public key>[:checksum]]

So the transaction's --amount is sent to each output, which means if we send --amount 10 with 3 outputs we actually send 30.

I've tried to integrate it without many modifications as I don't know the possible impacts elsewhere.

Edited by Moul

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Moul
  • Ok, we are close to merge it.

    I published a commit which refactor. @c-geek, you can test it.

    I have to figure out for the three upper points.

  • Moul added 1 commit

    added 1 commit

    Compare with previous version

  • Moul resolved all discussions

    resolved all discussions

  • Moul added 4 commits

    added 4 commits

    Compare with previous version

  • Moul added 1 commit

    added 1 commit

    Compare with previous version

  • Moul added 1 commit

    added 1 commit

    • e093a8c4 - [mod] remove useless import.

    Compare with previous version

  • Ok, we should be good now. There is commits not related to this PR. But, yeah, we made it!

    I changed:

    • pubkeys separator from , to :.
    • pubkey from its checksum separator from : to !.
  • Cool :-)

  • Moul mentioned in commit 4a4d80ae

    mentioned in commit 4a4d80ae

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading