try again

This commit is contained in:
blackjok3r
2018-11-02 22:47:16 +08:00
parent c4e4197a65
commit 54054b8397
3 changed files with 3 additions and 22 deletions

View File

@@ -20,6 +20,7 @@
#include "version.h"
/*
* Serialisation boilerplate
*/
@@ -42,8 +43,6 @@ bool DeserializeF(const std::vector<unsigned char> vIn, T f)
} catch(...) {}
return false;
}
bool pubkey2addr(char *destaddr,uint8_t *pubkey33);
bool Getscriptaddress(char *destaddr,const CScript &scriptPubKey);
#define E_MARSHAL(body) SerializeF([&] (CDataStream &ss) {body;})
#define E_UNMARSHAL(params, body) DeserializeF(params, [&] (CDataStream &ss) {body;})