DWQA QuestionsCategory: BlockchainSolving Transaction Records in Bitcoin Tesnet Environment
Turn into a bird asked 3 years ago

Problem process

  1. Start and wait for synchronization to complete
bitcoind -testnet -gen=1 -daemon
  1. Create account to view
[email protected]:~$ bitcoin-cli -testnet listaccounts 
{
  "": 0.00000000,
  "zhangsan": 0.00000000
}
[email protected]:~$ bitcoin-cli -testnet getaddressesbyaccount zhangsan
[
  "muAG3Eq8UT3VfukKSZRNn7RGgcgjzMVYo5"
]
[email protected]:~$ bitcoin-cli -testnet getaddressesbyaccount ""
[
  "mo5SLgAKDWVcnep9NyFLTbHHN5riYRqAG9"
]

3. Get 0.55 BTC test coins through https://testnet.manu.backend….mo5SLgAKDWVcnep9NyFLTbHHN5riYRqAG9
Look at the transaction record at https://www.blocktrail.com/tB…
Normally, 0.55 BTCs were obtained.
Solving Transaction Records in Bitcoin Tesnet Environment
But what I don’t understand is that the data in the red box on the picture is like the balance of the user who transfers money to me, but how is it different from the transfer address?
It’s normal to view by command

[email protected]:~$ bitcoin-cli -testnet listaccounts 
{
  "": 0.55000000,
  "zhangsan": 0.00000000
}

4. Transfer 0.5 yuan from account to Zhangsan

bitcoin-cli -testnet sendfrom "" muAG3Eq8UT3VfukKSZRNn7RGgcgjzMVYo5 0.5

Similar to the above
Solving Transaction Records in Bitcoin Tesnet Environment
5. At the most bizarre moment, I changed 0.04 coins again.

bitcoin-cli -testnet sendfrom "" muAG3Eq8UT3VfukKSZRNn7RGgcgjzMVYo5 0.04

In the record, https://www.blocktrail.com/tB…
But not at https://www.blocktrail.com/tB…
But there is such a record. It’s totally abnormal. I’m turning here, but now I’m turning out from here.
Solving Transaction Records in Bitcoin Tesnet Environment
Ask the Great Gods to teach you

1 Answers
Best Answer
Turn into a bird answered 3 years ago

I found that the questions about Bitcoin on SF are seldom seen. I asked for half a day, or only a dozen browsers, and after I asked, no one else seemed to ask about Bitcoin. This question has always been ranked first.
Fortunately, I found the answer, which is due to the change mechanism of Bitcoin. See this article for details.http://8btc.com/article-2027-…