Bitcoin Forum
May 19, 2024, 05:23:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Dev question: how to send a signed block chain message to ALL clients?  (Read 765 times)
stolendata (OP)
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250


View Profile
September 08, 2014, 09:50:59 PM
 #1

This question is for anyone who is familiar with in particular Litecoin and Litecoin clones. How to send a "global message" to the block chain so that all clients will see it when they parse the block? Where in the source code is the unique key (or whatever is in use) for doing this, and how to generate one that is different from the other block chains? Thanks for any reply.
From Above
Hero Member
*****
Offline Offline

Activity: 700
Merit: 520



View Profile
September 08, 2014, 10:31:25 PM
 #2

post it in the bitcoin technical discussion bro and ask there

~CfA~

stolendata (OP)
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250


View Profile
September 08, 2014, 10:35:29 PM
 #3

post it in the bitcoin technical discussion bro and ask there

~CfA~

They're pretty darned anal when it comes to questions regarding anything not Bitcoin, but I'll eventually give it a try.
Willisius
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250

I'm really quite sane!


View Profile
September 08, 2014, 11:23:28 PM
 #4

This question is for anyone who is familiar with in particular Litecoin and Litecoin clones. How to send a "global message" to the block chain so that all clients will see it when they parse the block? Where in the source code is the unique key (or whatever is in use) for doing this, and how to generate one that is different from the other block chains? Thanks for any reply.

Arbitrary data can be put into a transaction at the cost of transaction fees. But nobody is going to see it unless they look for it. And there's no easy tool for doing this, you have to write a transaction yourself.
iGotAIDS
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
September 08, 2014, 11:27:41 PM
 #5

you are looking for the rpc call 'sendalert' and alert.cpp in most clones. it needs a public key in the wallet and the matching private key to be accepted. google sendalert and you should find all you need.
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!