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

allow tips to be submitted directly to wallets. #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pypper
Copy link
Contributor

@pypper pypper commented Mar 20, 2018

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
Copy link
Owner

krruzic commented Mar 20, 2018

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
Copy link
Contributor Author

pypper commented Mar 20, 2018

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