Rework the way PF API request validity is checked against the ledger.

This commit is contained in:
JoelKatz
2013-04-30 15:35:28 -07:00
parent dac85af5e3
commit 297f68f371
3 changed files with 49 additions and 10 deletions

View File

@@ -61,10 +61,11 @@ public:
PFRequest(const boost::shared_ptr<InfoSub>& subscriber);
bool isValid(const boost::shared_ptr<Ledger>&);
bool isValid();
Json::Value getStatus();
Json::Value doCreate(const Json::Value&);
Json::Value doCreate(const boost::shared_ptr<Ledger>&, const Json::Value&);
Json::Value doClose(const Json::Value&);
Json::Value doStatus(const Json::Value&);