Skip to content

get_blockchain_synopsis throws when reference_point is in the future #1174

@theoreticalbts

Description

@theoreticalbts

This ticket is for a bug in get_blockchain_synopsis() which causes it to throw when reference_point is in the future (basically it calls is_included_block() which calls get_block_id_for_num() which throws if the blocknum isn't in the local block DB). The p2p code isn't expecting a throw there and somehow it ends up causing the peer to disconnect.

Metadata

Metadata

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