waxwing on Nostr: I think I got it, though it took a while ... for the relationship between forfeit ...
I think I got it, though it took a while ... for the relationship between forfeit transaction F and round transaction R, you want a *unilateral* constraint. That is, the server can get F only if R; and Alice (the participant from previous round) doesn't need to play a role in that round creation process (well apart from actually providing an F of course).
To have it work the "atomic swap" way it would have to be the counterparty (Alice) that was broadcasting the R, unlocking a secret for F. But that's not how this works, the action is all controlled by the Server.
Published at
2024-11-28 16:10:49Event JSON
{
"id": "93eb72c96633bd4910368042628597f1229a78d194198ee127ab8cf69345b39c",
"pubkey": "675b84fe75e216ab947c7438ee519ca7775376ddf05dadfba6278bd012e1d728",
"created_at": 1732810249,
"kind": 1,
"tags": [
[
"e",
"6c7c090df4293faee804ff170bfaaecf23944e471a189355b41f0d1aacdbc497",
"",
"root"
],
[
"e",
"87a78ee4124a0c6fc2c78da769376118c6e37e7f21b444cac44c09f132de47a9"
],
[
"e",
"ff6f4846998b49fa687f49ed1d60e4cdbe2d7c7917d1597e52308254712c28b4",
"",
"reply"
],
[
"p",
"a9e42a0ca6e4b1208088b68a4fd6407481b12060f915a0fecb4c8874557e3749"
],
[
"p",
"675b84fe75e216ab947c7438ee519ca7775376ddf05dadfba6278bd012e1d728"
],
[
"p",
"d26f78e5954117b5c6538a2d6c88a2296c65c038770399d7069a97826eb06a95"
]
],
"content": "I think I got it, though it took a while ... for the relationship between forfeit transaction F and round transaction R, you want a *unilateral* constraint. That is, the server can get F only if R; and Alice (the participant from previous round) doesn't need to play a role in that round creation process (well apart from actually providing an F of course).\n\nTo have it work the \"atomic swap\" way it would have to be the counterparty (Alice) that was broadcasting the R, unlocking a secret for F. But that's not how this works, the action is all controlled by the Server.\n",
"sig": "626fe68cc23da483ea02875ea79d9cbceb440516ff1fddc5c2e42d6a56fe4763714f448e2ee5a18adf8328649c9f6459dc2b256ee80f21c069c7286fc5f75be6"
}