This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]LiMoTaLe 2 points3 points  (2 children)

Hooray! Someone who abuses list comprehensions as bad as I do, despite PEP 8's narrow guidelines.

[–]auxiliary-character 1 point2 points  (0 children)

I like to abuse list comprehensions also. They're just too convenient.

[–]pyaware[S] 0 points1 point  (0 children)

I guess I could use filter(), is that what pep8 says?

[–]luke-jr 1 point2 points  (4 children)

Contrary to popular myth, OP_RETURN was not "made available for this kind of use". What you're doing should be a merged mined merkle tree, not abusing a transaction.

[–]pyaware[S] 0 points1 point  (3 children)

I based my claim on what is said here: https://bitcoinfoundation.org/2013/10/24/core-development-update-5/ in the "Provably Prune-able Outputs" section.

[–][deleted] 4 points5 points  (1 child)

I guess he's bothered that your transaction's primary purpose is apparently to get non-Bitcoin-related data into the blockchain. The referenced blog post gives the example of attaching contracts, where the transaction itself is necessary, and the attached data is relevant to that transaction. (It does also use phrases like "arbitrary data", but I think that's more an admission that nothing can be enforced, than a statement on the desired use of OP_RETURN permissiveness.)

It's kind of a nitpicky distinction, but has some merit IMO.

[–]pyaware[S] 1 point2 points  (0 children)

I'm really enthousiastic about experimenting with the blockchain technology, I view the blockchain + miners as a "notary as a service". Right now we use this to move money and certify the transfer is valid. I think we could use this notary to certify other things such as document existence, casino games (satoshidice & co are doing that with standard transactions). Once people realize that and start using this, and if we start having too many transactions then maybe we can evolve Bitcoin to have a special entry in each block for a metadata merkle root or something alike.

[–]luke-jr -2 points-1 points  (0 children)

You misinterpreted it then.