Hector Chu [ARCHIVE] on Nostr: 📅 Original date posted:2015-08-19 📝 Original message:On 19 August 2015 at ...
📅 Original date posted:2015-08-19
📝 Original message:On 19 August 2015 at 13:44, Jameson Lopp <jameson.lopp at gmail.com> wrote:
> It's possible to check that a transaction is cryptographically valid without
> having any blockchain data available; are you referring to a different type
> of validation?
It seems laborious to enumerate all the validations that are performed
on a transaction before it can be mined into a block, but for starters
we need to check it isn't a double-spend, and that its signatures
satisfy the outputs' pubkeys.
> If you're running an SPV node that is listening to full nodes on the
> network, you can request an unconfirmed transaction from connected peers
> after receiving the inventory message they send - that's how unconfirmed
> transactions propagate through the node network. This is not 100% proof that
> the transaction is valid for inclusion in the blockchain, but it's a very
> good indicator.
If you as an SPV node are waiting for unconfirmed transactions to be
relayed to you, you are going to have a slow start in mining those
transactions, decreasing the likelihood of receiving the mining
reward. Nodes should accept the first POW for a transaction and
discard any subsequent ones received.
Published at
2023-06-07 17:37:09Event JSON
{
"id": "c6b2428ccdf5aa58260832838bc19ed9b2f93ea0a5aec5604c11eda4f8dce932",
"pubkey": "f3e056e548ecd779cfbea56b1bf9eb9c26afb3780523aa0df2e58f34f4b1faee",
"created_at": 1686159429,
"kind": 1,
"tags": [
[
"e",
"43534b11c777af4aee64dd3c19f6a3d3ba99802fc0753b2ed069ff28900d38e6",
"",
"root"
],
[
"e",
"05fa41f2057c4e8d547264935aa01381fd875055bce57c70612d223f79ef32cf",
"",
"reply"
],
[
"p",
"45d091c7bcdbb8674dc8b91c60f7323053ab1432c4c882fd2d9897fe502eebed"
]
],
"content": "📅 Original date posted:2015-08-19\n📝 Original message:On 19 August 2015 at 13:44, Jameson Lopp \u003cjameson.lopp at gmail.com\u003e wrote:\n\u003e It's possible to check that a transaction is cryptographically valid without\n\u003e having any blockchain data available; are you referring to a different type\n\u003e of validation?\n\nIt seems laborious to enumerate all the validations that are performed\non a transaction before it can be mined into a block, but for starters\nwe need to check it isn't a double-spend, and that its signatures\nsatisfy the outputs' pubkeys.\n\n\u003e If you're running an SPV node that is listening to full nodes on the\n\u003e network, you can request an unconfirmed transaction from connected peers\n\u003e after receiving the inventory message they send - that's how unconfirmed\n\u003e transactions propagate through the node network. This is not 100% proof that\n\u003e the transaction is valid for inclusion in the blockchain, but it's a very\n\u003e good indicator.\n\nIf you as an SPV node are waiting for unconfirmed transactions to be\nrelayed to you, you are going to have a slow start in mining those\ntransactions, decreasing the likelihood of receiving the mining\nreward. Nodes should accept the first POW for a transaction and\ndiscard any subsequent ones received.",
"sig": "b1487e2765f9f69c1af9eb0dafd036b5ada2ac9159561293803b85e161da9d7389f2390ab8354afe69a54fa761b392c0c0094183fdec2c29b445e8d1440745ad"
}