From e599a0875320c4b0503eb592bce9282645955111 Mon Sep 17 00:00:00 2001 From: fbock Date: Mon, 27 May 2024 10:50:27 +0200 Subject: [PATCH] add clarification to psbt in concept 1 --- docs/TapTrade_obs/.obsidian/workspace.json | 23 +++++++++++-------- .../Bitcoin fundamentals/Knowledge sources.md | 2 ++ .../new concepts/concept pipeline 1.canvas | 8 +++---- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/docs/TapTrade_obs/.obsidian/workspace.json b/docs/TapTrade_obs/.obsidian/workspace.json index 61af304..94d96a4 100644 --- a/docs/TapTrade_obs/.obsidian/workspace.json +++ b/docs/TapTrade_obs/.obsidian/workspace.json @@ -11,11 +11,14 @@ "id": "bdb9fd88a01a8909", "type": "leaf", "state": { - "type": "markdown", + "type": "canvas", "state": { - "file": "Research/Bitcoin fundamentals/Knowledge sources.md", - "mode": "source", - "source": false + "file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas", + "viewState": { + "x": 127.5, + "y": 1104.1656242336394, + "zoom": -0.787814735661959 + } } } } @@ -85,7 +88,7 @@ "state": { "type": "backlink", "state": { - "file": "Research/Bitcoin fundamentals/Knowledge sources.md", + "file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -102,7 +105,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "Research/Bitcoin fundamentals/Knowledge sources.md", + "file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -125,7 +128,7 @@ "state": { "type": "outline", "state": { - "file": "Research/Bitcoin fundamentals/Knowledge sources.md" + "file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas" } } } @@ -148,13 +151,13 @@ }, "active": "bdb9fd88a01a8909", "lastOpenFiles": [ + "Research/Trade Pipelines/current trade flow.canvas", + "Research/Trade Pipelines/new concepts/concept locking script 1.canvas", + "Research/Bitcoin fundamentals/Knowledge sources.md", "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas", "Research/Implementation/Libraries.md", "Research/Bitcoin fundamentals/Taproot output structure.canvas", "Research/Bitcoin fundamentals/Spending Taproot UTXOs.md", - "Research/Bitcoin fundamentals/Knowledge sources.md", - "Research/Trade Pipelines/new concepts/concept locking script 1.canvas", - "Research/Trade Pipelines/current trade flow.canvas", "Research/Bitcoin fundamentals/Signature and Flags.canvas", "Research/Implementation/CLI demonstrator architecture/demonstrator architecture.canvas", "Research/Implementation/UI ideas.canvas", diff --git a/docs/TapTrade_obs/Research/Bitcoin fundamentals/Knowledge sources.md b/docs/TapTrade_obs/Research/Bitcoin fundamentals/Knowledge sources.md index 72e6b6c..5c85ea6 100644 --- a/docs/TapTrade_obs/Research/Bitcoin fundamentals/Knowledge sources.md +++ b/docs/TapTrade_obs/Research/Bitcoin fundamentals/Knowledge sources.md @@ -8,6 +8,8 @@ Understanding the following BIPs is relevant for the project. * [BIP 342 - Validation of Taproot Scripts](https://github.com/bitcoin/bips/blob/master/bip-0342.mediawiki) * [BIP 114(Rejected but interesting) - Merkelized Abstract Syntax Tree](https://github.com/bitcoin/bips/blob/master/bip-0114.mediawiki) * [BIP 65 - OP_CHECKLOCKTIMEVERIFY](https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki) +* [BIP 174 - Partially Signed Bitcoin Transaction Format](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki) +* [BIP 370 - PSBT Version 2](https://github.com/bitcoin/bips/blob/master/bip-0370.mediawiki) #### BIP Readtrough videos * [BIP 340 Readtrough - Jimmy Song](https://www.youtube.com/watch?v=rVsNFMzQUck) diff --git a/docs/TapTrade_obs/Research/Trade Pipelines/new concepts/concept pipeline 1.canvas b/docs/TapTrade_obs/Research/Trade Pipelines/new concepts/concept pipeline 1.canvas index 19afcef..def5bc3 100644 --- a/docs/TapTrade_obs/Research/Trade Pipelines/new concepts/concept pipeline 1.canvas +++ b/docs/TapTrade_obs/Research/Trade Pipelines/new concepts/concept pipeline 1.canvas @@ -11,8 +11,6 @@ {"id":"bdce49ceea829893","type":"text","text":"Taker","x":-652,"y":690,"width":192,"height":60}, {"id":"961e75c701b7f68f","type":"text","text":"Coordinator","x":80,"y":690,"width":250,"height":60}, {"id":"73a7dae830df4443","type":"text","text":"PSBT of contract\nTaker adds bond input sig","x":-320,"y":660,"width":250,"height":120}, - {"id":"b500fab6ba26abf1","type":"text","text":"Maker","x":-665,"y":1120,"width":250,"height":60}, - {"id":"9b054e655a321517","type":"text","text":"PSBT of contract\nMaker adds escrow input sig","x":-320,"y":1010,"width":250,"height":110}, {"id":"de1642ddfdfed1df","type":"text","text":"Coordinator \npublishes contract TX and waits for confirmation","x":80,"y":1180,"width":250,"height":120,"color":"2"}, {"id":"910e5a3ee7688d0b","type":"text","text":"Escrow and Bond locked in contract.\n**Chat can begin**","x":-300,"y":1380,"width":250,"height":120,"color":"6"}, {"id":"880c77a2d23f2cec","type":"text","text":"+signed TX\n\n-> Bond to coordinator\n -> change to self\n -> SIGHASH_ALL | ANYONECANPAY\n\n+MuSig2 public nonce\n+taproot public key (for agg. internal key)","x":-390,"y":-39,"width":390,"height":230}, @@ -21,8 +19,10 @@ {"id":"e3b8669b30d1c80e","type":"text","text":"+ signed psbt\n+ additional signed punishment TX in case the taker tries to spend the input somewhere else before the maker signs, the coordinator can claim or burn the bond (same like the maker bond). In case of out of band mining the maker would not lose money and the taker has a cost associated to doing this act","x":-610,"y":800,"width":815,"height":140}, {"id":"90704c232582cd52","type":"text","text":"Coordinator","x":80,"y":950,"width":250,"height":60}, {"id":"0d1d6b982cbde6e2","type":"file","file":"Research/Trade Pipelines/new concepts/concept locking script 1.canvas","x":420,"y":1220,"width":400,"height":400}, - {"id":"2f645456949ecdb8","x":580,"y":186,"width":340,"height":114,"type":"text","text":"Addendum: We could just publish a child transaction instead of adding an input to increase the fee."}, - {"id":"9a5c83be6a5d2b73","x":580,"y":91,"width":340,"height":100,"type":"text","text":"[Making Transaction invalid after certain blockheight - Stackexchange](https://bitcoin.stackexchange.com/questions/123021/make-signed-transaction-invalid-after-specified-time/123029#123029)"} + {"id":"2f645456949ecdb8","type":"text","text":"Addendum: We could just publish a child transaction instead of adding an input to increase the fee.","x":580,"y":186,"width":340,"height":114}, + {"id":"9a5c83be6a5d2b73","type":"text","text":"[Making Transaction invalid after certain blockheight - Stackexchange](https://bitcoin.stackexchange.com/questions/123021/make-signed-transaction-invalid-after-specified-time/123029#123029)","x":580,"y":91,"width":340,"height":100}, + {"id":"b500fab6ba26abf1","type":"text","text":"Maker","x":-710,"y":1210,"width":250,"height":60}, + {"id":"9b054e655a321517","type":"text","text":"PSBT of contract\nMaker adds escrow input sig\n\nMaker only gets PSBT without the Sig of the Taker, so he can't maliciously hold the tx and publish it at a later point in time.","x":-345,"y":980,"width":295,"height":210} ], "edges":[ {"id":"77d1ff9130716b53","fromNode":"dba9c662192cf5bb","fromSide":"right","toNode":"93c73227c82f1a81","toSide":"left"},