Title: BlockChain API to read Public note Post by: upal on December 25, 2013, 08:43:43 PM I am trying to read the Public note in a transaction, e.g.
https://blockchain.info/tx/114f37f3e30c7d9b5d5339e9a1652f2f065d0413fe34ee1121de0f21a50aaed3 Do u know the API for the same ? p.s. I guess Public Note is a generic facility for transaction from any wallet, web or local machine. Please correct me if I am wrong. Title: Re: BlockChain API to read Public note Post by: Sukrim on December 26, 2013, 12:01:02 AM You are wrong, this is just a proprietory service by blockchain. info. Messages are not part of the bitcoin protocol.
Title: Re: BlockChain API to read Public note Post by: upal on December 26, 2013, 09:30:48 AM You are wrong, this is just a proprietory service by blockchain. info. Messages are not part of the bitcoin protocol. Thanks for correcting me. Is there any way we may mark a transaction with a text in Bitcoin protocol so that the receiver can identify the sender if there are multiple claimants to be sender ? Title: Re: BlockChain API to read Public note Post by: Parazyd on December 26, 2013, 09:33:23 AM Nope. If everyone would put messages into the blockchain, it would make it even bigger.
Title: Re: BlockChain API to read Public note Post by: upal on December 26, 2013, 09:48:19 AM ok ...is the addr_tag part of the bitcoin protocol ?
Title: Re: BlockChain API to read Public note Post by: Parazyd on December 26, 2013, 09:51:05 AM https://en.bitcoin.it/wiki/Protocol_specification
You'll find everything there. You can't send messages the way you want. But you can sign messages. Title: Re: BlockChain API to read Public note Post by: upal on December 26, 2013, 10:11:08 AM https://en.bitcoin.it/wiki/Protocol_specification You'll find everything there. You can't send messages the way you want. But you can sign messages. Thank u so much for the reference. I read the following 2... i. https://en.bitcoin.it/wiki/Protocol_specification#Signatures ii. https://en.bitcoin.it/wiki/Protocol_specification#tx But could not identify a way to read any (signed) message from a tx. I think I am missing something. How do I identify sender of a transaction through API ? I mean, how a user of my system will prove that he/she is the one who made the transaction ? Title: Re: BlockChain API to read Public note Post by: Parazyd on December 26, 2013, 11:07:21 AM You cannot sign messages in a transaction. You can sign messages as such (no correlation(?) to the blockchain).
So only the person that owns the address' private key can sign the message with that said address. What you need to do is implement a system that will allow you to check if the signed message is valid. Title: Re: BlockChain API to read Public note Post by: Envrin on December 26, 2013, 11:51:42 AM Starting with Bitcoind v0.9, which will hopefully be released shortly, you'll be allowed to include up to 80 bytes of data in a transaction, which gets stored in the blockchain. Title: Re: BlockChain API to read Public note Post by: upal on December 26, 2013, 01:40:39 PM Thank u all. Can u plz help me out here => https://bitcointalk.org/index.php?topic=385733.0
Title: Re: BlockChain API to read Public note Post by: kjj on December 26, 2013, 02:20:45 PM You are wrong, this is just a proprietory service by blockchain. info. Messages are not part of the bitcoin protocol. Thanks for correcting me. Is there any way we may mark a transaction with a text in Bitcoin protocol so that the receiver can identify the sender if there are multiple claimants to be sender ? Bitcoin is different. You should not attempt to recreate obsolete systems in bitcoin. Bitcoin has no sender. You should not use this concept in your system. If you need to identify someone, do it up front, before providing the payment address. Then your problem is merely watching the address and checking the amount received. Title: Re: BlockChain API to read Public note Post by: upal on December 26, 2013, 05:24:16 PM You are wrong, this is just a proprietory service by blockchain. info. Messages are not part of the bitcoin protocol. Thanks for correcting me. Is there any way we may mark a transaction with a text in Bitcoin protocol so that the receiver can identify the sender if there are multiple claimants to be sender ? Bitcoin is different. You should not attempt to recreate obsolete systems in bitcoin. Bitcoin has no sender. You should not use this concept in your system. If you need to identify someone, do it up front, before providing the payment address. Then your problem is merely watching the address and checking the amount received. exactly that is what I am going to implement :) |