-
Notifications
You must be signed in to change notification settings - Fork 63
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
Push transactions in invalid blocks #118
Comments
This is a bit tricky since I believe it heavily depends on the block source, but I'm open to suggestions/comments. In the current implementation (using The state machine goes as follows: If we see a Honestly, there is no much more we can do. But again, I'm open to suggestions. |
From the presentation my understanding was that you intend to have a Core-free block source eventually. If they will be abstracted using a trait it should be possible to have slightly different implementations for the two. Although now that I think about it it may be tricky to rebroadcast without Core because broadcasting an invalid tx could result in ban. |
Yeah, one of the reasons we chose Core instead of other implementations was to make sure that we stick to the Core policy, otherwise, the transaction may never reach a miner. All in all, I think it is worth considering alternative block sources as future opt-in feature, will leave this open to have it in mind. |
Something that could be interesting (and perhaps a source of income for TEOS): have a service that provides test mempool accept API for a few sats. It guarantees to never ban you as long as you pay. Then people could run a lightweight version which still checks POW so it's expensive to sabotage them and runs the paid check just in case to avoid bans. |
Umm, this sounds interesting, but also a potential huge privacy leak. What type of transactions would the API be receiving? |
Not too big privacy leak if you intend to publish the transaction after the check returns |
So would the use case be:
If so, I think you should need some sort of a quorum of "towers" providing such a service (picked by the user), otherwise, the service can always (or randomly) return Even more, if the tower providing such a service is queried a transaction that it is also monitoring, the incentive for the service provider is to return |
Indeed. In the case of bounty, the bounty already has to go to predefined recipient. It'll be taken by miners otherwise. |
Sure, but I don't mean the service-provider tower stealing the requester bounty (from its transaction) but returning
If |
Good point, though I think for lightweight towers it makes more sense to run my own on RPi Zero or something and in that case I don't need |
This is a feedback on the presentation on BH2022, I didn't manage to catch you afterwards.
I believe it's better to push transactions in invalid blocks to the network because it benefits the user of the watchtower (gets whole channel amount) and all else being equal a selfish user will choose to use a watchtower that does this.
The text was updated successfully, but these errors were encountered: