{"head":"31b29e07e369070dfeff72ec808eb036e0d042d6","size":1,"push_id":44722451,"shas":[["31b29e07e369070dfeff72ec808eb036e0d042d6","bcfa93f93811ba0262e2427f1526e8c92f6044fb@gmail.com","Dramatically simpler code with BinaryData typemaps!\n\nAdded a typemap in the SWIG wrapper code which implicitly converts\npython strings to and from C++ BinaryData objects.  This means that\nthere is no longer any necessity to call toHexStr(), toBinStr() or\nBinaryData(pyStr) anymore.\n\nThe downside is that it doesn't play nice with overloaded methods or\nmethods with default arguments (which are compliled into overloaded\nmethods).  For BtcWallet, I had to create\n   addAddress_1_\n   addAddress_2_\n   addAddress_3_\n   addAddress_4_\n   addAddress_5_\nwhere the number at the end represents how many arguments are you\npassing in.  Also added addAddress_BtcAddress_ just in case you have\na pre-constructed C++ BtcAddress you want to pass around.\n\nNOTE:  C++ BtcAddress constructor has the exact same problem as above,\nand thus you cannot use anything but the default constructor.  I'm\nworking on figuring out how to hack this too.\n\nIF ANYONE HAS ANY EXPERIENCE WITH \"typemap typechecks\" IN SWIG PLEASE\nLET ME KNOW, SINCE USING THESE WILL AVOID ALL THE PROBLEMS ABOVE!","etotheipi"]],"ref":"refs/heads/master"}