22 lines
551 B
C++
22 lines
551 B
C++
#include <graphene/peerplays_sidechain/ethereum/transaction.hpp>
|
|
|
|
namespace graphene { namespace peerplays_sidechain { namespace ethereum {
|
|
|
|
std::string transaction::sign(std::string private_key) {
|
|
v = "signed";
|
|
r = "transaction";
|
|
s = "signed-transaction";
|
|
return v + "|" + r + "|" + s;
|
|
}
|
|
|
|
std::string transaction::serialize() {
|
|
return "serialized-transaction";
|
|
}
|
|
|
|
void transaction::deserialize(std::string raw_tx) {
|
|
block_hash = "1";
|
|
block_number = "2";
|
|
hash = "3";
|
|
}
|
|
|
|
}}} // namespace graphene::peerplays_sidechain::ethereum
|