Removed comments

This commit is contained in:
Sandip Patel 2019-11-11 18:06:28 +05:30
parent ab0281c51b
commit 53283728d1
2 changed files with 0 additions and 15 deletions

View file

@ -263,9 +263,6 @@ void database::initialize_indexes()
acnt_index->add_secondary_index<account_referrer_index>();
add_index< primary_index<committee_member_index, 8> >(); // 256 members per chunk
// Note: Do not create secondary_index if you will need to create an
// operation to remove associated object.
add_index< primary_index<son_index> >();
add_index< primary_index<witness_index, 10> >(); // 1024 witnesses per chunk
add_index< primary_index<limit_order_index > >();

View file

@ -402,18 +402,6 @@ namespace graphene { namespace db {
DerivedIndex::remove(obj);
}
// Note: Implementing insert function here will break the
// bookie_plugin functionality as it was implemented assuming no undo required.
// virtual const object& insert( object&& obj )override
// {
// const auto& res = DerivedIndex::insert(std::move(obj));
// if (object_type_id() != graphene::)
// for( const auto& item : _sindex )
// item->object_inserted( res );
// on_add(res);
// return res;
// }
virtual void modify( const object& obj, const std::function<void(object&)>& m )override
{
save_undo( obj );