blockchain , sdchain cpp sdk and demo

Dependencies:   EthernetInterface mbed-rtos mbed uniqueCPUID

Fork of bcsdk by SDchain C Plus Plus Team

Committer:
webmaster
Date:
Wed Aug 08 09:51:32 2018 +0800
Revision:
18:ec6cd7cfe3f8
Parent:
10:aabd720e632c
rm demo files

Who changed what in which revision?

UserRevisionLine numberNew contents of line
webmaster 10:aabd720e632c 1 /***********************************************************************
webmaster 10:aabd720e632c 2 * Module: Input.h
webmaster 10:aabd720e632c 3 * Author: Administrator
webmaster 10:aabd720e632c 4 * Modified: 2017年9月8日 14:57:48
webmaster 10:aabd720e632c 5 * Purpose: Declaration of the class Input
webmaster 10:aabd720e632c 6 * Comment: 单个输入包括在事务中。
webmaster 10:aabd720e632c 7 ***********************************************************************/
webmaster 10:aabd720e632c 8
webmaster 10:aabd720e632c 9 #if !defined(__Account_Input_h)
webmaster 10:aabd720e632c 10 #define __Account_Input_h
webmaster 10:aabd720e632c 11
webmaster 10:aabd720e632c 12 #include <map>
webmaster 10:aabd720e632c 13 #include <string>
webmaster 10:aabd720e632c 14 #include "Object.h"
webmaster 10:aabd720e632c 15 using namespace std;
webmaster 10:aabd720e632c 16
webmaster 10:aabd720e632c 17 class Input
webmaster 10:aabd720e632c 18 {
webmaster 10:aabd720e632c 19 public:
webmaster 10:aabd720e632c 20 std::string type;
webmaster 10:aabd720e632c 21 std::string assetId;
webmaster 10:aabd720e632c 22 std::string assetAlias;
webmaster 10:aabd720e632c 23 map<std::string,Object> assetDefinition;
webmaster 10:aabd720e632c 24 map<std::string,Object> assetTags;
webmaster 10:aabd720e632c 25 std::string assetIsLocal;
webmaster 10:aabd720e632c 26 long amount;
webmaster 10:aabd720e632c 27 std::string spentOutputId;
webmaster 10:aabd720e632c 28 std::string accountId;
webmaster 10:aabd720e632c 29 std::string accountAlias;
webmaster 10:aabd720e632c 30 map<std::string,Object> accountTags;
webmaster 10:aabd720e632c 31 std::string issuanceProgram;
webmaster 10:aabd720e632c 32 map<std::string,Object> referenceData;
webmaster 10:aabd720e632c 33 std::string isLocal;
webmaster 10:aabd720e632c 34
webmaster 10:aabd720e632c 35 protected:
webmaster 10:aabd720e632c 36 private:
webmaster 10:aabd720e632c 37
webmaster 10:aabd720e632c 38 };
webmaster 10:aabd720e632c 39
webmaster 10:aabd720e632c 40 #endif