Andreas Schildbach [ARCHIVE] on Nostr: đź“… Original date posted:2014-07-01 đź“ť Original message:On 07/01/2014 10:18 AM, ...
đź“… Original date posted:2014-07-01
đź“ť Original message:On 07/01/2014 10:18 AM, Mike Hearn wrote:
> ​However it's not ideal at the moment. Basically the main problem is
> that in the BIP72 there is no way to provide a fallback alternative
> URI for payment request fetch if client wallet supports BIP70 but
> doesn't not support fetching over bluetooth or bluetooth connection
> fails for any reason.
I think the way to go here is using multiple r= parameters.
> So the idea here is that the recipient wallet both uploads to the
> internet and exposes the payment request over Bluetooth simultaneously,
> then let's the sending wallet pick whatever radio layer works best in
> its current conditions?
Either that, or just use the other ones as a fallback. Currently,
Bitcoin Wallet just falls back to BIP21 if fetching the PR via the r=
URL fails.
> I think having multiple r= params is reasonable, but the Bluetooth
> support is not specced in any BIP anyway. And if it were to be, people
> would point out the lack of link-layer encryption.
Its "specced" in code and implemented by several parties. I think its
clear that link-layer encryption has to be an add-on to the current
unencrypted connection, just like HTTPS is on top of HTTP. Anyway,
that's unrelated to the question of how to provide fallback URLs.
One more thought: We have a similar problem with the BIP70 payment URL.
It doesn't allow for fallbacks either. I brought this issue up in the
discussion phase of BIP70, but it was dismissed I think because of
"let's not get too complex for the first version". The fallback here is
to send the transaction via the P2P network.
(I think BIP70 via P2P radio will get used more often in future. I plan
to look into Bluetooth 4 LE as soon as I have devices and wanted to try
WIFI Direct again also. I hope we can skip BIP72 for both of those, but
lets see.)
Published at
2023-06-07 15:23:24Event JSON
{
"id": "cb71fe92b16ffde66f49d85ab071b126cfb98389c54d434d461f6183bdc9a8a1",
"pubkey": "3215b3d77dff1f84eeb5ad46fb1206a8d1657b3ea765a80b5489ece3a702d2bc",
"created_at": 1686151404,
"kind": 1,
"tags": [
[
"e",
"ee6bc64c1976b2dbf1e8fad28498a66081191f29656dae347bd7d9144f6faaad",
"",
"root"
],
[
"e",
"3e4210c921851d5547a6d3263f57f60808d7932b7cf52cd04b3928da01e827d6",
"",
"reply"
],
[
"p",
"f2c95df3766562e3b96b79a0254881c59e8639f23987846961cf55412a77f6f2"
]
],
"content": "📅 Original date posted:2014-07-01\n📝 Original message:On 07/01/2014 10:18 AM, Mike Hearn wrote:\n\u003e ​However it's not ideal at the moment. Basically the main problem is\n\u003e that in the BIP72 there is no way to provide a fallback alternative\n\u003e URI for payment request fetch if client wallet supports BIP70 but\n\u003e doesn't not support fetching over bluetooth or bluetooth connection\n\u003e fails for any reason. \n\nI think the way to go here is using multiple r= parameters.\n\n\u003e So the idea here is that the recipient wallet both uploads to the\n\u003e internet and exposes the payment request over Bluetooth simultaneously,\n\u003e then let's the sending wallet pick whatever radio layer works best in\n\u003e its current conditions?\n\nEither that, or just use the other ones as a fallback. Currently,\nBitcoin Wallet just falls back to BIP21 if fetching the PR via the r=\nURL fails.\n\n\u003e I think having multiple r= params is reasonable, but the Bluetooth\n\u003e support is not specced in any BIP anyway. And if it were to be, people\n\u003e would point out the lack of link-layer encryption.\n\nIts \"specced\" in code and implemented by several parties. I think its\nclear that link-layer encryption has to be an add-on to the current\nunencrypted connection, just like HTTPS is on top of HTTP. Anyway,\nthat's unrelated to the question of how to provide fallback URLs.\n\nOne more thought: We have a similar problem with the BIP70 payment URL.\nIt doesn't allow for fallbacks either. I brought this issue up in the\ndiscussion phase of BIP70, but it was dismissed I think because of\n\"let's not get too complex for the first version\". The fallback here is\nto send the transaction via the P2P network.\n\n(I think BIP70 via P2P radio will get used more often in future. I plan\nto look into Bluetooth 4 LE as soon as I have devices and wanted to try\nWIFI Direct again also. I hope we can skip BIP72 for both of those, but\nlets see.)",
"sig": "b969fd1ef2a6c421d0ff753795580895908b27f17857c4ad19be08800a1a7bf792de03eaac50e50ec13726dc42eedae5c35999282cb31c48c3ba9692219f35f2"
}