remove non-validator version of tm::begin
This commit is contained in:
parent
2cb8f1308b
commit
45042ed0e1
@ -19,14 +19,6 @@ transaction_manager::~transaction_manager()
|
||||
{
|
||||
}
|
||||
|
||||
transaction_manager::write_ref
|
||||
transaction_manager::begin(block_address superblock)
|
||||
{
|
||||
write_ref wr = bm_->superblock(superblock);
|
||||
wipe_shadow_table();
|
||||
return wr;
|
||||
}
|
||||
|
||||
transaction_manager::write_ref
|
||||
transaction_manager::begin(block_address superblock, validator v)
|
||||
{
|
||||
@ -46,7 +38,6 @@ transaction_manager::new_block(validator v)
|
||||
return wr;
|
||||
}
|
||||
|
||||
// FIXME: duplicate code
|
||||
pair<transaction_manager::write_ref, bool>
|
||||
transaction_manager::shadow(block_address orig, validator v)
|
||||
{
|
||||
|
@ -26,9 +26,7 @@ namespace persistent_data {
|
||||
~transaction_manager();
|
||||
|
||||
// Drop the superblock reference to commit
|
||||
write_ref begin(block_address superblock);
|
||||
write_ref begin(block_address superblock, validator v);
|
||||
|
||||
write_ref new_block(validator v);
|
||||
|
||||
// shadowing returns a new write_ref, and a boolean which
|
||||
|
Loading…
Reference in New Issue
Block a user