Skip to content

disable bad uncle warnings #720

Closed
Closed
@ethers

Description

@ethers

On develop 8db7b23

disable bad uncle warning like below

obscuren said: it’s not an error
the miner is always running (not mining) and is collecting uncles as the chain progresses
at some point when a transaction comes in it uses the miner and applies it to the transient state, but with it it will also tests uncles
that’s the error you’re seeing
i should disable those

I0414 14:28:01.336142   17580 worker.go:302] Bad uncle found and will be removed (833d98b1)
I0414 14:28:01.336174   17580 worker.go:303] BLOCK(833d98b1465698300aaf28779acc9b3607e57b16c4163f4f21713f88075b1574): Size: 514.00 B TD: 306428269861 {
NoNonce: fe8fcec6ef33f5065e75031b70db2f40487fb9ec32c4fc9b14cdaabff8873a3f
Header:
[

    ParentHash:     ba690c02e5892187414f14f59557f8eba440d8314ee4c079fb2d1f72126fca0a
    UncleHash:      1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
    Coinbase:       ba5a55dec63ca9b4f8108dec82b9d734320c7057
    Root:           5fcf530393295541f5c76aca457e8704b3935a39721c2e55420eb5abc8b05523
    TxSha           56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
    ReceiptSha:     56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
    Bloom:          00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    Difficulty:     7226739
    Number:         99315
    GasLimit:       3141592
    GasUsed:        0
    Time:           1429046808
    Extra:          
    MixDigest:          335aa57d596cba838fec82d7614dcc2fcbf71e655c3fc170d11fc4864d2f6507
    Nonce:          6bb95389695dbcf2
]
Transactions:
[]
Uncles:
[]
}

I0414 14:28:01.336430   17580 worker.go:302] Bad uncle found and will be removed (c21a41b9)
I0414 14:28:01.336439   17580 worker.go:303] BLOCK(c21a41b97207309bd43344273dd21154a81d7a51f320f1ee4c59e25abf84e522): Size: 514.00 B TD: 306435493072 {
NoNonce: 128f1da1ccd44d9024eba1b316bfc6233ac67dce9fc0858baa945872a7ebc6f9
Header:
[

    ParentHash:     833d98b1465698300aaf28779acc9b3607e57b16c4163f4f21713f88075b1574
    UncleHash:      1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
    Coinbase:       ba5a55dec63ca9b4f8108dec82b9d734320c7057
    Root:           be8bc196903a8e5d0f49326429eac8d656f812cc7a7342292f4e3c0c0deed757
    TxSha           56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
    ReceiptSha:     56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
    Bloom:          00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    Difficulty:     7223211
    Number:         99316
    GasLimit:       3141592
    GasUsed:        0
    Time:           1429046837
    Extra:          
    MixDigest:          ad1325e2c40ec86afa74c7e9864de2197fd408671f4a83c7ed69dec3d8811d12
    Nonce:          ceba83069dbeec1c
]
Transactions:
[]
Uncles:
[]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions