Bitcoin Forum
May 02, 2024, 04:26:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / how to set a fixed coinbase address on: March 12, 2019, 09:45:23 AM
bitcoincore version: v0.17.1
OS: ubuntu18.04

what I'm doing is testing with bitcoincore regtest mode, I find everytime it mine a block (bitcoin-cli -regtest generate 1), it will generate a new address to receive 50btc reward,
I'm wondering can I reuse the existing address to receive the reward.
I know it's not good to reuse btc address, but for simplicity in local testing, is there anyway to set a fixed coinbase address?
thanks
2  Bitcoin / Development & Technical Discussion / why separate execution of unlocking and locking scripts on: January 10, 2019, 08:03:44 AM
quote:
"In the original bitcoin client, the unlocking and locking scripts were concatenated and executed in sequence. For security reasons, this was changed in 2010, because of a vulnerability that allowed a malformed unlocking script to push data onto the stack and corrupt the locking script. In the current implementation, the scripts are executed separately with the stack transferred between the two executions, as described next."

--<Mastering bitcoin, second edition>, https://github.com/bitcoinbook/bitcoinbook/blob/second_edition_print3_rc2/ch06.asciidoc#tx_script

could anyone kindly give an example or more info about what happened in 2010, try to understand this vulnerability when concatenate and execute unlocking and locking scripts, thanks
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!