Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: cloverme on May 22, 2016, 08:59:42 PM



Title: Testnet incorrect getreceivedbyaddress value... maybe im on a fork?
Post by: cloverme on May 22, 2016, 08:59:42 PM
I'm getting an odd received number back from testnet on core client 0.12.1.  If I check other block explorers for testnet it's returning different values.  Obviously not a serious issue for me, but was just curious if someone else has seen this, etc.

blocktrail.com - 19.89556903
blockcypher.com - 18.41240638
tbtc.blockr.io - 18.41240638

Local wallet on testnet

13:12:40 getreceivedbyaddress "mjJbDzzbn6THNTYRkpS9WSJ1R87SyzQZEA"
13:12:40 23.41240638


Maybe I'm on some kind of fork?-   "Warning: unknown new rules activated (versionbit 28)"


Code:
13:55:54 getblockchaininfo

{
  "chain": "test",
  "blocks": 866139,
  "headers": 866139,
  "bestblockhash": "000000000000269769fdf9c313123b80acd69d7742c6264ae48b0bcab06c4537",
  "difficulty": 172371.7921859009,
  "mediantime": 1463953482,
  "verificationprogress": 1.000000998655267,
  "chainwork": "00000000000000000000000000000000000000000000000b1a2faa8e270e637d",
  "pruned": false,
  "softforks": [
    {
      "id": "bip34",
      "version": 2,
      "enforce": {
        "status": true,
        "found": 100,
        "required": 51,
        "window": 100
      },
      "reject": {
        "status": true,
        "found": 100,
        "required": 75,
        "window": 100
      }
    },
    {
      "id": "bip66",
      "version": 3,
      "enforce": {
        "status": true,
        "found": 100,
        "required": 51,
        "window": 100
      },
      "reject": {
        "status": true,
        "found": 100,
        "required": 75,
        "window": 100
      }
    },
    {
      "id": "bip65",
      "version": 4,
      "enforce": {
        "status": true,
        "found": 100,
        "required": 51,
        "window": 100
      },
      "reject": {
        "status": true,
        "found": 100,
        "required": 75,
        "window": 100
      }
    }
  ],
  "bip9_softforks": [
    {
      "id": "csv",
      "status": "active"
    }
  ]
}


Title: Re: Testnet incorrect getreceivedbyaddress value... maybe im on a fork?
Post by: DarkStar_ on May 22, 2016, 10:09:05 PM
I believe Classic was forked on the testnet since the hashing power is small so it wouldn't be difficult for someone to get the required percentage of blocks. I could be wrong though, but I saw people talking about this. I haven't been having any problems with different testnet balances. Maybe you have transactions that the explores haven't seen/haven't confirmed yet?