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

Automatically calculate the size #1

Open
cyio opened this issue May 17, 2018 · 2 comments
Open

Automatically calculate the size #1

cyio opened this issue May 17, 2018 · 2 comments

Comments

@cyio
Copy link
Contributor

cyio commented May 17, 2018

https://explorer.bitcoin.com/bch/tx/6ddd801184985617b18efb9a6242574b448c2ee4ac76c5a58336ea6cebf1d3d0

This tx is 424 byte with a 217 characters message.
If I set a static fee, datacash would send failed.

@unwriter
Copy link
Owner

Thanks for the heads up. I do want to make this work automatically by auto-calculation, but in the meantime since the demo is not working, I just raised the default fee from 300 to 400 006a5e8 just so that the demo works. I've just confirmed that it's working for the demo now, but can you check that it's working?

That said, you can also manually set the fee if you think 400 is too much. https://github.com/unwriter/datacash#b-cash

I will try to figure out auto-calculation as soon as I can and update here when I do.

@cyio
Copy link
Contributor Author

cyio commented May 17, 2018

Yeah, I have done some txs with the playground, 300 is ok for most of them, check my profile https://memo.cash/profile/1LZsthmfhU9o1QjHVgsZEWqSrMWgnH734D

If you set at least 1sat / 1byte, the tx always broadcast success. So, the fee option should allow I set like 1, 1.2, 2, etc instead of a static fee.

Something should notice happen on memo
image

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

2 participants