Mainnet release #831

Merged
vampik merged 196 commits from beatrice into master 2023-10-06 10:50:32 +00:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 2c02591e24 - Show all commits

View file

@ -131,6 +131,7 @@ namespace graphene { namespace chain {
}}
FC_REFLECT_DERIVED( graphene::chain::dynamic_global_property_object, (graphene::db::object),
(random)
(head_block_number)
(head_block_id)
(time)

View file

@ -92,6 +92,7 @@
#define DEFAULT_LOGGER "p2p"
#define P2P_IN_DEDICATED_THREAD 1
#define DISABLE_WITNESS_HF_CHECK 1
#define INVOCATION_COUNTER(name) \
static unsigned total_ ## name ## _counter = 0; \
@ -1905,8 +1906,10 @@ namespace graphene { namespace net { namespace detail {
// last hardfork time. We are setting to 0 which will disconnect the node
// on hello message
originating_peer->last_known_hardfork_time = fc::time_point_sec(0);
if(DISABLE_WITNESS_HF_CHECK) {
originating_peer->last_known_hardfork_time = _delegate->get_last_known_hardfork_time();
}
}
}
void node_impl::on_hello_message( peer_connection* originating_peer, const hello_message& hello_message_received )