Skip to content

Commit 1cd2c20

Browse files
committedMay 31, 2017
BlockHash: Drop more options
1 parent 8e7c742 commit 1cd2c20

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎libethcore/BlockInfo.h

-6
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,10 @@ using BlockNumber = unsigned;
4444
enum Strictness
4545
{
4646
CheckEverything,
47-
JustSeal,
48-
QuickNonce,
4947
IgnoreSeal,
5048
CheckNothing
5149
};
5250

53-
DEV_SIMPLE_EXCEPTION(NoHashRecorded);
54-
DEV_SIMPLE_EXCEPTION(GenesisBlockCannotBeCalculated);
55-
5651
/** @brief Encapsulation of a block header.
5752
* Class to contain all of a block header's data. It is able to parse a block header and populate
5853
* from some given RLP block serialisation with the static fromHeader(), through the method
@@ -128,7 +123,6 @@ class BlockInfo
128123

129124
/// sha3 of the header only.
130125
h256 const& hashWithout() const;
131-
h256 const& hash() const { if (m_hash) return m_hash; BOOST_THROW_EXCEPTION(NoHashRecorded()); }
132126

133127
void clear();
134128
void noteDirty() const { m_hashWithout = m_boundary = m_hash = h256(); }

0 commit comments

Comments
 (0)
Please sign in to comment.