* Remove proposals for creating deposit and withdrawal objects, strenghten evaluator checks * Only active SON can create the object * Only expected SON can confirm the transaction * Transaction must be initiated (paid) by SON account owner (SON account given in operation) * Transaction confirmation must contain exactly the same data as existing object * Mirror SON owner account weights from son-account.active.account_auths to active SONs * Fix duplicated typedef, peerplays_sidechain::sidechain_type to chain::sidechain_type * Add missing serialized field
22 lines
324 B
C++
22 lines
324 B
C++
#pragma once
|
|
|
|
#include <fc/reflect/reflect.hpp>
|
|
|
|
namespace graphene { namespace chain {
|
|
|
|
enum class sidechain_type {
|
|
unknown,
|
|
bitcoin,
|
|
ethereum,
|
|
eos,
|
|
peerplays
|
|
};
|
|
|
|
} }
|
|
|
|
FC_REFLECT_ENUM(graphene::chain::sidechain_type,
|
|
(unknown)
|
|
(bitcoin)
|
|
(ethereum)
|
|
(eos)
|
|
(peerplays) )
|