Bitcoin Forum
November 17, 2024, 01:32:57 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BlockChain API to read Public note  (Read 1118 times)
upal (OP)
Full Member
***
Offline Offline

Activity: 165
Merit: 102


View Profile
December 25, 2013, 08:43:43 PM
 #1

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.
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1007


View Profile
December 26, 2013, 12:01:02 AM
 #2

You are wrong, this is just a proprietory service by blockchain. info. Messages are not part of the bitcoin  protocol.

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
upal (OP)
Full Member
***
Offline Offline

Activity: 165
Merit: 102


View Profile
December 26, 2013, 09:30:48 AM
 #3

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 ?
Parazyd
Hero Member
*****
Offline Offline

Activity: 812
Merit: 587


Space Lord


View Profile WWW
December 26, 2013, 09:33:23 AM
 #4

Nope. If everyone would put messages into the blockchain, it would make it even bigger.
upal (OP)
Full Member
***
Offline Offline

Activity: 165
Merit: 102


View Profile
December 26, 2013, 09:48:19 AM
 #5

ok ...is the addr_tag part of the bitcoin protocol ?
Parazyd
Hero Member
*****
Offline Offline

Activity: 812
Merit: 587


Space Lord


View Profile WWW
December 26, 2013, 09:51:05 AM
 #6

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.
upal (OP)
Full Member
***
Offline Offline

Activity: 165
Merit: 102


View Profile
December 26, 2013, 10:11:08 AM
 #7

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 ?
Parazyd
Hero Member
*****
Offline Offline

Activity: 812
Merit: 587


Space Lord


View Profile WWW
December 26, 2013, 11:07:21 AM
 #8

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.
Envrin
Sr. Member
****
Offline Offline

Activity: 318
Merit: 251



View Profile
December 26, 2013, 11:51:42 AM
 #9


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.

upal (OP)
Full Member
***
Offline Offline

Activity: 165
Merit: 102


View Profile
December 26, 2013, 01:40:39 PM
 #10

Thank u all. Can u plz help me out here => https://bitcointalk.org/index.php?topic=385733.0
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
December 26, 2013, 02:20:45 PM
 #11

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.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
upal (OP)
Full Member
***
Offline Offline

Activity: 165
Merit: 102


View Profile
December 26, 2013, 05:24:16 PM
Last edit: December 28, 2013, 06:05:14 PM by upal
 #12

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  Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!