Bitcoin Forum
May 02, 2024, 05:23:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: SCRIPT interpreter.  (Read 140 times)
XEOP$ (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 171


In Crypto We Trust


View Profile
December 26, 2020, 02:12:10 PM
 #1

Hi to all.

I've been looking into Bitcoin  for two years now but still have one question to ask. Where does SCRIPT   code interpreter lurk, in bitcoind or somewhere else?

Thanks in advance for  responses.

1714670617
Hero Member
*
Offline Offline

Posts: 1714670617

View Profile Personal Message (Offline)

Ignore
1714670617
Reply with quote  #2

1714670617
Report to moderator
1714670617
Hero Member
*
Offline Offline

Posts: 1714670617

View Profile Personal Message (Offline)

Ignore
1714670617
Reply with quote  #2

1714670617
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714670617
Hero Member
*
Offline Offline

Posts: 1714670617

View Profile Personal Message (Offline)

Ignore
1714670617
Reply with quote  #2

1714670617
Report to moderator
1714670617
Hero Member
*
Offline Offline

Posts: 1714670617

View Profile Personal Message (Offline)

Ignore
1714670617
Reply with quote  #2

1714670617
Report to moderator
unsigned_long_long
Jr. Member
*
Offline Offline

Activity: 39
Merit: 6


View Profile
December 26, 2020, 11:32:52 PM
Merited by NotATether (2), XEOP$ (2), ABCbits (1)
 #2

https://github.com/bitcoin/bitcoin/blob/master/src/script/interpreter.cpp#L431

This EvalScript function is basically the script VM.
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!