You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The usefulness of plugins is currently somewhat limited, because the new_objects, changed_objects and removed_objects callbacks are effectively disabled during a replay. This makes it impossible, for example, to collect certain historic data in a plugin, i. e. everything that is not represented somehow in signed_block.operations.
I'm not sure if this limitation is on purpose. The callbacks mentioned above rely on undo_db, which is disabled during replay for performance reasons. I tested a replay with undo_db enabled, and it took 20% longer than without on the current chain (~19M blocks).
From @theoreticalbts on October 30, 2015 19:42
Things in core that need to move to plugins:
Indexes:
account_member_index
Objects:
impl_account_transaction_history_object_type
impl_witness_schedule_object_type
impl_budget_record_object_type
impl_reserved0_object_type
custom_object_type
operation_history_object_type
Fields:
account_object.whitelisted_accounts
account_object.blacklisted_accounts
witness_object.last_aslot
witness_object.url
witness_object.total_missed
witness_object.last_confirmed_block_num
dpo.recent_slots_filled
dpo.last_irreversible_block_num
dpo.recently_missed_count
Copied from original issue: cryptonomex/graphene#422
The text was updated successfully, but these errors were encountered: