Bitcoin Forum
May 04, 2024, 10:25:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Weird note by satoshi on unreleased Bitcoin 2008 version  (Read 228 times)
takuma sato (OP)
Sr. Member
****
Offline Offline

Activity: 297
Merit: 423


View Profile
January 16, 2022, 04:59:08 AM
Merited by AB de Royse777 (5), hugeblack (4), vapourminer (3), Welsh (2), n0nce (2), ABCbits (1), BlackHatCoiner (1)
 #1

I was looking at the (I think) earliest ever code found for Bitcoin in a version that was privately shared amongst some people, and in main.ccp, looking at the comments, every function seems explained in a straight forward way, but this one seems strange:

Quote
   // Add atoms to user reviews for coins created
    vector<unsigned char> vchPubKey;
    if (ExtractPubKey(vtx[0].vout[0].scriptPubKey, false, vchPubKey))
    {
        uint64 nRand = 0;
        RAND_bytes((unsigned char*)&nRand, sizeof(nRand));
        unsigned short nAtom = nRand % (USHRT_MAX - 100) + 100;
        vector<unsigned short> vAtoms(1, nAtom);
        AddAtomsAndPropagate(Hash(vchPubKey.begin(), vchPubKey.end()), vAtoms, true);
    }

    return true;

What was the context for "Add atoms to user reviews for coins created" there?
1714818353
Hero Member
*
Offline Offline

Posts: 1714818353

View Profile Personal Message (Offline)

Ignore
1714818353
Reply with quote  #2

1714818353
Report to moderator
1714818353
Hero Member
*
Offline Offline

Posts: 1714818353

View Profile Personal Message (Offline)

Ignore
1714818353
Reply with quote  #2

1714818353
Report to moderator
1714818353
Hero Member
*
Offline Offline

Posts: 1714818353

View Profile Personal Message (Offline)

Ignore
1714818353
Reply with quote  #2

1714818353
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714818353
Hero Member
*
Offline Offline

Posts: 1714818353

View Profile Personal Message (Offline)

Ignore
1714818353
Reply with quote  #2

1714818353
Report to moderator
1714818353
Hero Member
*
Offline Offline

Posts: 1714818353

View Profile Personal Message (Offline)

Ignore
1714818353
Reply with quote  #2

1714818353
Report to moderator
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10546



View Profile
January 16, 2022, 05:12:27 AM
Merited by ABCbits (1), BlackHatCoiner (1), n0nce (1)
 #2

I believe it was an incomplete feature that Satoshi wanted to introduce in bitcoin qt but was removed before release. It acts as some sort of rating system where it gives a rate (nAtom) to each user possibly to introduce a decentralized marketplace with the message "review".
This system seems to be giving a random rate to public keys of those who mined a block in the code you shared above.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
mosaic2009
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 16, 2022, 07:42:51 PM
 #3

I was looking at the (I think) earliest ever code found for Bitcoin in a version that was privately shared amongst some people, and in main.ccp, looking at the comments, every function seems explained in a straight forward way, but this one seems strange:
..
What was the context for "Add atoms to user reviews for coins created" there?

I believe it was an incomplete feature that Satoshi wanted to introduce ..

And I believe ..

https://news.bitcoin.com/online-sleuths-believe-satoshi-nakamotos-bitcoin-stash-is-a-blockchain-treasure-hunt-meant-to-be-found/


@takuma sato

keep going ..
takuma sato (OP)
Sr. Member
****
Offline Offline

Activity: 297
Merit: 423


View Profile
February 01, 2022, 03:41:23 AM
Merited by vapourminer (2)
 #4

I believe it was an incomplete feature that Satoshi wanted to introduce in bitcoin qt but was removed before release. It acts as some sort of rating system where it gives a rate (nAtom) to each user possibly to introduce a decentralized marketplace with the message "review".
This system seems to be giving a random rate to public keys of those who mined a block in the code you shared above.

My thesis is that the wanted a sort of ebay's stars system, you would gain reputation by mining honest blocks, this reputation would show up in the marketplace. He must have had ideas to try to incentive people into doing transactions in a world where Bitcoin was worth 0, he needed a context, so he was building this web of trust based market. There's a more lines related to the marketplace in 1.0.0 including atom propagation and review functions

https://github.com/trottier/original-bitcoin/blob/master/src/market.cpp

I think this was removed in 0.1.5, this is the last time I found it

https://github.com/blaesus/tinybtc/wiki/Bitcoin-0.1.5-LOC-statistics
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!