iMiamas
iMiamas
I us it like this ```cpp struct person { std::string name; std::string address; int age; }; person test {"Ned Flanders", "744 Evergreen Terrace", 60}; json j = test; ``` use...
oh sorry,i see, i does not see the flow explain, thank you!
another question,like this ```cpp typedef char DateType[9]; typedef char TimeType[9]; typedef char UserIDType[16]; struct UserInfo { DateType TradingDay; TimeType LoginTime; UserIDType UserID; } ``` How can i convert struct UserInfo...
i don't find a way to convert c array, just convert like this in from_json function ```cpp strcpy_s(obj.TradingDay,j["TradingDay"].get().c_str()); strcpy_s(obj.LoginTime, j["LoginTime"].get().c_str()); strcpy_s(obj.UserID,j["UserID"].get().c_str()); ``` but i don‘t kown if it's a reasonable...
got it, thank you!
Time maybe appears: when my power about  I have not modified go-lotus codes
forked at height 21889 Why are there two chains at the same time? 
2019-10-28T13:30:27.522+0800 ESC[34mINFOESC[0m storageminer storage/post.go:133 submitting PoSt {"pLen": 192, "elapsed": 82.697663812} 2019-10-28T13:30:27.522+0800 ESC[34mINFOESC[0m storageminer storage/post.go:155 mpush 2019-10-28T13:30:27.534+0800 ESC[34mINFOESC[0m storageminer storage/post.go:162 Waiting for post bafy2bzacebx4ixlsb2lpleearyrdlisu6gok7rlsjy6m5iudy4cuqq75dshwo to appear on chain 2019-10-28T13:31:18.020+0800 ESC[33mWARNESC[0m rpc...
seal result should bind deal id or some other data on the chain, not just fixed miner address