mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
refactor: extend changes to uint512
This commit is contained in:
parent
5ad6088c93
commit
a2c3031dcc
@ -137,9 +137,9 @@ inline uint256 uint256S(const std::string& str)
|
||||
/** 512-bit unsigned big integer. */
|
||||
class uint512 : public base_blob<512> {
|
||||
public:
|
||||
uint512() {}
|
||||
uint512(const base_blob<512>& b) : base_blob<512>(b) {}
|
||||
explicit uint512(const std::vector<unsigned char>& vch) : base_blob<512>(vch) {}
|
||||
constexpr uint512() = default;
|
||||
constexpr uint512(const base_blob<512>& b) : base_blob<512>(b) {}
|
||||
constexpr explicit uint512(Span<unsigned char> vch) : base_blob<512>(vch) {}
|
||||
|
||||
uint256 trim256() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user