Bitcoin Forum
June 21, 2024, 11:59:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin markup  (Read 1203 times)
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1120
Merit: 1017


ASMR El Salvador


View Profile WWW
April 04, 2013, 12:53:01 PM
Last edit: April 04, 2013, 01:23:31 PM by remotemass
 #1

Sometimes you might want to send a number of satoshis that would be automatically refunded just to make it public in the blockchain but would find it difficult because the number you want to send is too long and/or you wanted to use some kind of markup.
In such cases you can use a very simple markup:  

Send two satoshis to open the tag: <

Send one satoshi to close the tag: >

In between open and closing tag, and in between tags, send chunks of data as ascii chars in decimal (+3), in each of the following transactions starting by least significative position of the string of chars.

I know spamming the blockchain cannot sound good, but here it goes this idea that in some cases could be of use.

[EDIT] - Or maybe simply using ascii codes '60' and '62' => '<' and '>'.
And maybe you should index the ascii codes in a way that minimized transaction fees. Basically the most used ascii code would now be called ascii code number zero and the less used ascii code, ascii code number 255. This could be called satoshi-ascii encoding. Other encoding formats could be used, like UTF-8, and it would be up to the browser/rendering app/machine to render it and sort it out, as required.

Yes, you can host a static webpage on the bitcoin blockchain!!!  Grin
Consider archive.com donations' bitcoin address for that  Shocked Shocked


{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
the founder
Sr. Member
****
Offline Offline

Activity: 448
Merit: 251


Bitcoin


View Profile WWW
April 04, 2013, 03:48:39 PM
 #2

There used to be a way to send abratrary content though the blockchain in the default client,  however I believe that's removed for 2 reasons.

1 - it cloggs up the blockchain and pisses everyone off.
2 - it's expensive ... trying sending a big file though the blockchain and see what the fee is...  

That being stated I would love to be able to send a one sentance note in the block chain..   "hi mom and dad" or whatever...  because unlike a website or other type of system which could go down or erased or whatever... bitcoin I believe will sit there for some time.



Bitcoin RSS App / Bitcoin Android App / Bitcoin Webapp http://www.ounce.me  Say thank you here:  1HByHZQ44LUCxxpnqtXDuJVmrSdrGK6Q2f
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1120
Merit: 1017


ASMR El Salvador


View Profile WWW
April 04, 2013, 04:02:45 PM
 #3

Maybe we could ask Semantic Web and W3C to rule a simple protocol to render wap pages hosted on the bitcoin blockchain. You would only have to type in the browser's address bar the bitcoin address of the page(s) to render, followed by a colon or 'at' symbol, and then the bitcoin address of where you decided to host your data.


{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
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!