Skip to content

allow tips to be submitted directly to wallets.#5

Open
pypper wants to merge 2 commits into
krruzic:masterfrom
pypper:tip-direct
Open

allow tips to be submitted directly to wallets.#5
pypper wants to merge 2 commits into
krruzic:masterfrom
pypper:tip-direct

Conversation

@pypper

@pypper pypper commented Mar 20, 2018

Copy link
Copy Markdown
Contributor

I heard someone was asking for this.

notes:

  • wallet skips receiver DM notices.
  • works with template {}tip <amount> <address> <message>, and no mentions.
  • does same minimal validation checks as register wallet. tippers are SOL if wallet is invalid / wrong.
  • should technically still work for amplifications too.

pypper added 2 commits March 19, 2018 22:39
wallet is obviously skipped on notices.
this should still work for amplifications too.
removes inline type and length checks that were strewn around.
will allow for better / more flexible validation alround.
@krruzic

krruzic commented Mar 20, 2018

Copy link
Copy Markdown
Owner

Thanks, please add some checking of the address. 99 chars, starts with TRTL. Invalid address tx will just be cancelled eventually (or don't go through at all idk) so that should be good enough.

@pypper

pypper commented Mar 20, 2018

Copy link
Copy Markdown
Contributor Author

Funny you said that, I literally just implemented this before reading your comment.

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

Successfully merging this pull request may close these issues.

2 participants