azheng

Results 4 comments of azheng

直接在项目里这样设置 不可以么? 版本 2.1.3

嗯嗯 好的 谢谢

Use the Bitcoin address 3MtvkwxXtjK99GTvRKCMrfcPfb1CKd4FR5 to transfer to 1EN8KQzVYaZXWx8cZtWjxJUCQgfanNRnuU, and finally get the signature 0200000001f8bd6b068efceba07871dd6618baca979bd791a19f44ab7e7afc17590ed0ba6301000000610047304402205ab2526d9b4cd8062ae0e33d8809adc423e7e099f89c8f8638120291a3e5592a02200340607fb2bc371d377ffde32076f771ac82dc18b8d6a2f3850162fb2b304bbd0117a914dda33200ed8fd8ae42b3b415b82450f11a1061f587ffffffff02e8030000000000001976a91492987a8ca45b556f3e7f99b5cf4060accede7b3088acb9ff06000000000017a914dda33200ed8fd8ae42b3b415b82450f11a1061f58700000000 Use this signature to broadcast and report an error {"result":null,"error":{"code":-26,"message":"mandatory-script-verify-flag-failed (Script evaluated without error but...

val params = MainNetParams.get() val context = Context(params) Context.propagate(context) val transaction = TransactionBit(params) transaction.setVersion(2) val fromAddress = Address.fromString(params, fromAddress) val toAddress: Address = Address.fromString(params, toAddress) val privateKey = ECKey.fromPrivate(Hex.decode(walletCoinBean!!.privateKeyAsHex)) transaction.addOutput(inputAmount,...