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:
12:1b24ea479a59
rm demo files

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MrAI 12:1b24ea479a59 1 #if !defined(__Account_Payment_h)
MrAI 12:1b24ea479a59 2 #define __Account_Payment_h
MrAI 12:1b24ea479a59 3 #include "Client.h"
MrAI 12:1b24ea479a59 4 #include <string>
MrAI 12:1b24ea479a59 5 #include "MbedJSONValue.h"
MrAI 12:1b24ea479a59 6 #include "Account.h"
MrAI 12:1b24ea479a59 7 using namespace std;
MrAI 12:1b24ea479a59 8 class Payment:public Account
MrAI 12:1b24ea479a59 9 {
MrAI 12:1b24ea479a59 10 public:
MrAI 12:1b24ea479a59 11 string PostPayment(MbedJSONValue& in,string sUrl,string sAddr,string otherInfo);//Ö§¸¶ÇëÇó
MrAI 12:1b24ea479a59 12 bool SetJsonBody(MbedJSONValue& out, string src_accIn, string dst_accIn, string direction, int start_ledger, int end_ledger, int per_page, int page);
MrAI 12:1b24ea479a59 13 bool SetJsonBody(MbedJSONValue& out,string secretIn,string src_accIn,string dst_accIn,string amt_In,string memtypeIn,string memdataIn);//×éjson°ü
MrAI 12:1b24ea479a59 14 string GetPaymentInfo(string sUrl, string sAddr, string otherInfo);//»ñµÃÖ§¸¶ÐÅÏ¢
MrAI 12:1b24ea479a59 15 protected:
MrAI 12:1b24ea479a59 16 private:
MrAI 12:1b24ea479a59 17 Client client;
MrAI 12:1b24ea479a59 18 };
MrAI 12:1b24ea479a59 19
MrAI 12:1b24ea479a59 20 #endif