CatapultServer
v0.5.0.1 (Elephant)
|
Mixin for storing information about cosignatories of an account. More...
Public Member Functions | |
MultisigCosignatoriesMixin () | |
Creates multisig cosignatories mixin. More... | |
const utils::SortedKeySet & | cosignatories () const |
Gets cosignatory account keys. More... | |
utils::SortedKeySet & | cosignatories () |
Gets cosignatory account keys. More... | |
bool | hasCosignatory (const Key &key) const |
Returns true if key is a cosignatory. More... | |
uint8_t | minApproval () const |
Gets the number of cosignatories required when approving (any) transaction. More... | |
void | setMinApproval (uint8_t minApproval) |
Sets the number of cosignatories required (minApproval) when approving (any) transaction. More... | |
uint8_t | minRemoval () const |
Gets the number of cosignatories required when removing an account. More... | |
void | setMinRemoval (uint8_t minRemoval) |
Sets the number of cosignatories required (minRemoval) when removing an account. More... | |
Private Attributes | |
utils::SortedKeySet | m_cosignatories |
uint8_t | m_minApproval |
uint8_t | m_minRemoval |
Mixin for storing information about cosignatories of an account.
|
inline |
Creates multisig cosignatories mixin.
|
inline |
Gets cosignatory account keys.
|
inline |
Gets cosignatory account keys.
|
inline |
Returns true
if key is a cosignatory.
|
inline |
Gets the number of cosignatories required when approving (any) transaction.
|
inline |
Gets the number of cosignatories required when removing an account.
|
inline |
Sets the number of cosignatories required (minApproval) when approving (any) transaction.
|
inline |
Sets the number of cosignatories required (minRemoval) when removing an account.
|
private |
|
private |
|
private |