Changeset View
Changeset View
Standalone View
Standalone View
src/bitcoin-tx.cpp
Show First 20 Lines • Show All 826 Lines • ▼ Show 20 Lines | try { | ||||
key = arg.substr(0, eqpos); | key = arg.substr(0, eqpos); | ||||
value = arg.substr(eqpos + 1); | value = arg.substr(eqpos + 1); | ||||
} | } | ||||
MutateTx(tx, key, value, chainParams); | MutateTx(tx, key, value, chainParams); | ||||
} | } | ||||
OutputTx(CTransaction(tx)); | OutputTx(CTransaction(tx)); | ||||
} | |||||
catch (const boost::thread_interrupted &) { | |||||
throw; | |||||
} catch (const std::exception &e) { | } catch (const std::exception &e) { | ||||
strPrint = std::string("error: ") + e.what(); | strPrint = std::string("error: ") + e.what(); | ||||
nRet = EXIT_FAILURE; | nRet = EXIT_FAILURE; | ||||
} catch (...) { | } catch (...) { | ||||
PrintExceptionContinue(nullptr, "CommandLineRawTx()"); | PrintExceptionContinue(nullptr, "CommandLineRawTx()"); | ||||
throw; | throw; | ||||
} | } | ||||
Show All 34 Lines |