CatapultServer
v0.5.0.1 (Elephant)
HashLockInfo.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
plugins/txes/lock_shared/src/state/LockInfo.h
"
23
24
namespace
catapult
{
namespace
state {
25
27
struct
HashLockInfo
:
public
LockInfo
{
28
public
:
30
HashLockInfo
() :
LockInfo
()
31
{}
32
34
HashLockInfo
(
35
const
Key
& account,
36
catapult::MosaicId
mosaicId,
37
catapult::Amount
amount,
38
catapult::Height
height,
39
const
Hash256
& hash)
40
:
LockInfo
(account, mosaicId, amount, height)
41
,
Hash
(hash)
42
{}
43
44
public
:
46
Hash256
Hash
;
47
};
48
}}
catapult::state::LockInfo
A lock info.
Definition:
LockInfo.h:36
catapult::state::HashLockInfo::HashLockInfo
HashLockInfo()
Creates a default hash lock info.
Definition:
HashLockInfo.h:30
catapult::state::HashLockInfo
A hash lock info.
Definition:
HashLockInfo.h:27
catapult::utils::BaseValue< uint64_t, MosaicId_tag >
catapult::state::HashLockInfo::HashLockInfo
HashLockInfo(const Key &account, catapult::MosaicId mosaicId, catapult::Amount amount, catapult::Height height, const Hash256 &hash)
Creates a hash lock info around account, mosaicId, amount, height and hash.
Definition:
HashLockInfo.h:34
LockInfo.h
catapult::state::HashLockInfo::Hash
Hash256 Hash
Hash.
Definition:
HashLockInfo.h:46
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::utils::ByteArray< Key_Size, Key_tag >
catapult-server
plugins
txes
lock_hash
src
state
HashLockInfo.h
Generated by
1.8.16