«Я очень сожалею о том, что должен предписывать отобрание произведений труда, заключение в тюрьму, изгнание, каторгу, казнь, войну, т. е. массовое убийство. но я обязан поступить так, потому что этого самого требуют от меня люди, давшие мне власть», говорят правители.
«Если я отнимаю у людей собственность, хватаю их от семьи, запираю, ссылаю, казню, если я убиваю людей чужого народа, разоряю их, стреляю в городах по женщинам и детям, то я делаю это не потому, что хочу этого, а только потому, что исполняю волю власти, которой я обещал повиноваться для блага общего», говорят подвластные.
В этом обман лжеучения государства. Только это укоренившееся лжеучение дает безумную, ничем не оправдываемую, власть сотням людей над миллионами и лишает истинной свободы эти миллионы. Не может человек, живущий в Канаде или в Канзасе, в Богемии, в Малороссии, Нормандии, быть свободен, пока он считает себя (и часто гордится этим) британским, североамериканским, австрийским, русским, французским гражданином.
Не может и правительство, призвание которого состоит в том, чтобы соблюдать единство такого невозможного и бессмысленного соединения как Россия, Британия, Германия, Франция — дать своим гражданам настоящую свободу, а не подобие ее, как это делается при всяких хитроумных конституциях, монархических, республиканских, или демократических. Главная и едва ли не единственная причина отсутствия свободы — лжеучение о необходимости государства.
Люди могут быть лишены свободы и при отсутствии государства, но при принадлежности людей к государству не может быть свободы.

Лев Николаевич Толстой

To the question, how to be without a State, without courts, armies, and so on, an answer cannot be given, because the question is badly formulated. The problem is not how to arrange a State after the pattern of today, or after a new pattern. Neither I, nor any of us, is appointed to settle that question.
But, though voluntarily, yet inevitably must we answer the question, how shall I act faced with the problem which ever arises before me? Am I to submit my conscience to the acts taking place around me, am I to proclaim myself in agreement with the Government, which hangs erring men, sends soldiers to murder, demoralizes nations with opium and spirits, and so on, or am I to submit my actions to conscience, i.e., not participate in Government, the actions of which are contrary to reason?
What will be the outcome of this, what kind of a Government there will be — of all this I know nothing; not that I don’t wish to know; but that I cannot. I only know that nothing evil can result from my following the higher guidance of wisdom and love, or wise love, which is implanted in me, just as nothing evil comes of the bee following the instinct implanted in her, and flying out of the hive with the swarm, we should say, to ruin.[1] But, I repeat, I do not wish to and cannot judge about this.
In this precisely consists the power of Christ’s teaching and that not because Christ is God or a great man, but because His teaching is irrefutable. The merit of His teaching consists in the fact that it transferred the matter from the domain of eternal doubt and conjecture on to the ground of certainty. You are a man, a being rational and kind, and you know that today or tomorrow you will die, disappear. If there be a God then you will go to Him and He will ask of you an account of your actions, whether you have acted in accordance with His law, or, at least, with the higher qualities implanted in you. If there be no God, you regard reason and love as the highest qualities, and must submit to them your other inclinations, and not let them submit to your animal nature — to the cares about the commodities of life, to the fear of annoyance and material calamities.
The question is not, I repeat, which community will be the more secure, the better — the one which is defended by arms, cannons, gallows or the one that is not so safeguarded. But there is only one question for a man, and on it is impossible to evade: “Will you, a rational and good being, having for a moment appeared in this world, and at any moment liable to disappear — will you take part in the murder of erring men or men of a different race, will you participate in the extermination of whole nations of so-called savages, will you participate in the artificial deterioration of generations of men by means of opium and spirits for the sake of profit, will you participate in all these actions, or even be in agreement with those who permit them, or will you not?”
And there can be but one answer to this question for those to whom it has presented itself. As to what the outcome will be of it, I don’t know, because it is not given to me to know. But what should be done, I do unmistakably know. And if you ask: “What will happen?”, then I reply that good will certainly happen; because, acting in the way indicated by reason and love, I am acting in accordance with the highest law known to me. The situation of the majority of men, enlightened by true brotherly enlightenment, at present crushed by the deceit and cunning of usurpers, who are forcing them to ruin their own lives — this situation is terrible and appears hopeless.
Only two issues present themselves, and both are closed. One is to destroy violence by violence, by terrorism, dynamite bombs and daggers as our Nihilists and Anarchists have attempted to do, to destroy this conspiracy of Governments against nations, from without; the other is to come to an agreement with the Government, making concessions to it, participating in it, in order gradually to disentangle the net which is binding the people, and to set them free. Both these issues are closed. Dynamite and the dagger, as experience has already shown, only cause reaction, and destroy the most valuable power, the only one at our command, that of public opinion.
The other issue is closed, because Governments have already learnt how far they may allow the participation of men wishing to reform them. They admit only that which does not infringe, which is non-essential; and they are very sensitive concerning things harmful to them — sensitive because the matter concerns their own existence. They admit men who do not share their views, and who desire reform, not only in order to satisfy the demands of these men, but also in their own interest, in that of the Government. These men are dangerous to the Governments if they remain outside them and revolt against them — opposing to the Governments the only effective instrument the Governments possess — public opinion; they must therefore render these men harmless, attracting them by means of concessions, in order to render them innocuous (like cultivated microbes), and then make them serve the aims of the Governments, i.e., oppress and exploit the masses.
Both these issues being firmly closed and impregnable, what remains to be done?
To use violence is impossible; it would only cause reaction. To join the ranks of the Government is also impossible — one would only become its instrument. One course therefore remains — to fight the Government by means of thought, speech, actions, life, neither yielding to Government nor joining its ranks and thereby increasing its power.
This alone is needed, will certainly be successful.
And this is the will of God, the teaching of Christ. There can be only one permanent revolution — a moral one: the regeneration of the inner man.
How is this revolution to take place? Nobody knows how it will take place in humanity, but every man feels it clearly in himself. And yet in our world everybody thinks of changing humanity, and nobody thinks of changing himself.

Leo Tolstoy


Private Blog is a blog aggregator written in PHP. All posts are stored in emercoin blockchain.

All posts are stored in emercoin blockchain. The posts can be either anonymous or have anonymous blogger as an author. The posts can also reply to each other. The posts can be created, updated or deleted only by an owner of emercoin wallet using name-value storage (NVS).

The blockchain values from NVS gets parsed by this aggregator using @key="value" params inside the NVS value (Emercoin wallet "Manage Names" section).

Register a blogger (optional)

  1. Create a record named blogger:username in emercoin NVS
  2. Add optional value as a user description.
  • @key emercoin address (example ENwm9Aq8vHgTW6akyti3vQSZJK2qPAGaYW)
  • @sig the bloggers signature, result of signmessage "emercoinaddress" "username" command from emercoin console or RPC

Make a post

  1. Create a record named blog:postname in emercoin NVS
  2. The value will be the post body. (The body can contain all HTML tags except < script > tag )
  • @title title of a post (optional)
  • @lang the ISO_639-1 code of post language (optional, default en)
  • @username username of blogger (optional)
  • @sig (optional used with @username) The result of signmessage "emercoinaddress" "username:postname" command, where emercoinaddress is @key from user's record and postname is this post name from blog:postname. This signature gets verified by verifymessage "emercoinaddress" "@sig" "username:postname" command
  • @keywords "drugs,sex,rockandroll" (optional)
  • @reply the name of the post you want to reply to (optional)

Make a reply to other post

  • Any post can reply to any other post using @reply keyword
  • @reply the name of the post you want to reply to

Links to other posts

#post_name_link_to="link caption"

Post, that includes other posts or post > 20kb

Inside post: %%subpost_name%%
Max level of subposts is 5

Big files

Large files > 20kb is divided into parts
Execute console commands:
  1. split --bytes=18k Konrad_Curze_sketch_small.jpg
  2. md5sum Konrad_Curze_sketch_small.jpg
  3. file -b --mime-type Konrad_Curze_sketch_small.jpg
Create NVS records
  • NVS name: file:file_hash (file:3d9c09df0d72f0a3b02d03a89d2ee5b1)
  • NVS value {"content_type": "image/jpeg", "name": "Konrad_Curze_sketch_small.jpg", "parts": 5}
  • file:file_hash:1 (file:3d9c09df0d72f0a3b02d03a89d2ee5b1:1) - part 1 of file Konrad_Curze_sketch_small.jpg
  • ...
  • file:file_hash:5 - part 5
  • $$$hash_of_file - url to file
  • $hash_of_file="link caption" - link to file

Useful console commands

Emercoin wallet -> Help -> Debug window -> Console
  • name_scan
    name_scan [start-name] [max-returned] [max-value-length=-1] [valuetype]
    Scan all names, starting at start-name and returning a maximum number of entries (default 500)
    You can also control the length of shown value (0 = full value)
    [valuetype] : if "hex" or "base64" is specified then it will print value in corresponding format instead of string.
  • name_list
    name_list [name] [valuetype]
    list my own names.

    1. name (string, required) Restrict output to specific name.
    2. valuetype (string, optional) If "hex" or "base64" is specified then it will print value in corresponding format instead of string.
  • name_filter
    name_filter [regexp] [maxage=0] [from=0] [nb=0] [stat] [valuetype]
    scan and filter names
    [regexp] : apply [regexp] on names, empty means all names
    [maxage] : look in last [maxage] blocks
    [from] : show results from number [from]
    [nb] : show [nb] results, 0 means all
    [stat] : show some stats instead of results
    [valuetype] : if "hex" or "base64" is specified then it will print value in corresponding format instead of string.
    name_filter "" 5 # list names updated in last 5 blocks
    name_filter "^id/" # list all names from the "id" namespace
    name_filter "^id/" 0 0 0 stat # display stats (number of names) on active names from the "id" namespace

    name_filter "^blog:.+"
    name_filter "^blogger:.+"
  • signmessage
    signmessage "emercoinaddress" "message"

    Sign a message with the private key of an address
    Requires wallet passphrase to be set with walletpassphrase call.

    1. "emercoinaddress" (string, required) The emercoin address to use for the private key.
    2. "message" (string, required) The message to create a signature of.
    "signature" (string) The signature of the message encoded in base 64


    Unlock the wallet for 30 seconds
    > emercoin-cli walletpassphrase "mypassphrase" 30

    Create the signature
    > emercoin-cli signmessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ" "my message"

    Verify the signature
    > emercoin-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ" "signature" "my message"

    As json rpc
    > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ", "my message"] }' -H 'content-type: text/plain;'
  • verifymessage
    verifymessage "emercoinaddress" "signature" "message"

    Verify a signed message

    1. "emercoinaddress" (string, required) The emercoin address to use for the signature.
    2. "signature" (string, required) The signature provided by the signer in base 64 encoding (see signmessage).
    3. "message" (string, required) The message that was signed.

    true|false (boolean) If the signature is verified or not.

    Unlock the wallet for 30 seconds
    > emercoin-cli walletpassphrase "mypassphrase" 30

    Create the signature
    > emercoin-cli signmessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ" "my message"

    Verify the signature
    > emercoin-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ" "signature" "my message"

    As json rpc
    > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifymessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ", "signature", "my message"] }' -H 'content-type: text/plain;'


  • Emercoin: EQkpLeX4FhqxnoXdPMJqnaHxJHHgNgTKLh
  • Bitcoin: 1JU7QyyiavuKeZvCkxA269a3wnf8qb1S5p