bitcoincash-wallet / bitcoincashj

A library for working with Bitcoin Cash [obsolete]
http://bitcoinj.cash
Apache License 2.0
26 stars 15 forks source link

Possible that Fees are too low or Dust limit is too low #1

Open HashEngineering opened 6 years ago

HashEngineering commented 6 years ago

This may be causing invalid transactions that throw an exception when loading a wallet with these types of transactions.

22:02:37 [backgroundThread] SendCoinsOfflineTask - sending: SendRequest{emptyWallet=false, feePerKb=4000, ensureMinRequiredFee=true, signInputs=true, shuffleOutputs=true}
22:02:37 [backgroundThread] Wallet - Completing send tx with 1 outputs totalling 0.084357 BCC and a fee of 0.00004 BCC/kB
22:02:37 [backgroundThread] Wallet -   with 0.00000789 BCC change
22:02:37 [backgroundThread] Secp256k1Context - java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.hashengineering.bitcoincash.wallet-1/base.apk"],nativeLibraryDirectories=[/data/app/com.hashengineering.bitcoincash.wallet-1/lib/arm64, /system/lib64, /vendor/lib64]]] couldn't find "libsecp256k1.so"
22:02:37 [backgroundThread] Wallet -   completed:   cd66de2da5d0289116d420239f2768add6c6bbaf88d027b7ef02931ac55d9b1c
  version 2
     in   PUSHDATA(71)[30440220649beecf28803756125c0ea8fa5089ebaea609d7d090c9fcf47b67e27d6cf49d02205a06dbf6ac9aa385e0303879c275fd1095b04a854a1c6123013f68fb433f473d41] PUSHDATA(33)[0377f25e8ff4235f142f02420b7a2c13f6634abad2fe38340061319530e9722c81] 0.08437489 BCC
          outpoint:ecbd09220dc4dac5c686be10ef21eecc01f5305ad395423f4fe3aed7cd8255f7:0 hash160:b3bca268dc7cc0ff29bb6cba40072d092ea8e695
     out  DUP HASH160 PUSHDATA(20)[5da72731a9207f80f8e190bf2ec9fce40c7449af] EQUALVERIFY CHECKSIG 0.00000789 BCC
     out  DUP HASH160 PUSHDATA(20)[d8047f5782b36d468488e2e542e170ea07c5bf3b] EQUALVERIFY CHECKSIG 0.084357 BCC
     fee  0.00004444 BCC/kB, 0.00001 BCC for 225 bytes
     prps USER_PAYMENT

22:02:37 [backgroundThread] Wallet - commitTx of cd66de2da5d0289116d420239f2768add6c6bbaf88d027b7ef02931ac55d9b1c
22:02:37 [backgroundThread] Wallet -   marked ecbd09220dc4dac5c686be10ef21eecc01f5305ad395423f4fe3aed7cd8255f7:0 as spent by cd66de2da5d0289116d420239f2768add6c6bbaf88d027b7ef02931ac55d9b1c
22:02:37 [backgroundThread] Wallet -   ecbd09220dc4dac5c686be10ef21eecc01f5305ad395423f4fe3aed7cd8255f7 prevtx <-unspent ->spent
22:02:37 [backgroundThread] Wallet - ->pending: cd66de2da5d0289116d420239f2768add6c6bbaf88d027b7ef02931ac55d9b1c
22:02:37 [backgroundThread] Wallet - Estimated balance is now: 0.00000789 BCC
22:02:37 [backgroundThread] KeyChainGroup - Marking key as used: DeterministicKey{pub=03359e5a769cfb3564cf66e845aa6f36b0df6f89c61166fe9c2252275b58915453, chainCode=47b8589f8fa811af0c0318e1bf65bdf94a0275d678e0f975f0a996c52bea479d, path=M/0H/1/0, isEncrypted=false, isPubKeyOnly=false}
22:02:37 [backgroundThread] WalletFiles - Saving wallet; last seen block is height 505915, date 2017-11-26T22:01:21Z, hash 000000000000000001d0630291d143533e8d47961aeb810584b708e9c994eb65
22:02:37 [backgroundThread] WalletFiles - Save completed in 26.70 ms
22:02:37 [backgroundThread] SendCoinsOfflineTask - send successful, transaction committed: cd66de2da5d0289116d420239f2768add6c6bbaf88d027b7ef02931ac55d9b1c
22:02:37 [main] BlockchainServiceImpl - service start command: Intent { act=de.schildbach.wallet.service.broadcast_transaction cmp=com.hashengineering.bitcoincash.wallet/de.schildbach.wallet.service.BlockchainServiceImpl launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } (has extras) }
22:02:37 [main] BlockchainServiceImpl - broadcasting transaction cd66de2da5d0289116d420239f2768add6c6bbaf88d027b7ef02931ac55d9b1c
22:02:37 [main] TransactionBroadcast - Waiting for 5 peers required for broadcast, we have 6 ...
22:02:37 [main] TransactionBroadcast - broadcastTransaction: We have 6 peers, adding cd66de2da5d0289116d420239f2768add6c6bbaf88d027b7ef02931ac55d9b1c to the memory pool
22:02:37 [main] TransactionBroadcast - Sending to 3 peers, will wait for 2, sending to: [106.14.105.75]:8333,[52.65.84.70]:8333,[47.95.32.102]:8333
22:02:37 [NioClientManager] Peer - [47.95.32.102]:8333 /Bitcoin ABC:0.16.1(EB8.0)/: Received Reject: tx cd66de2da5d0289116d420239f2768add6c6bbaf88d027b7ef02931ac55d9b1c for reason 'insufficient priority' (66)
22:02:37 [NioClientManager] TransactionBroadcast - Threshold for considering broadcast rejected has been reached (2/1)
22:02:37 [NioClientManager] Peer - [106.14.105.75]:8333 /Bitcoin ABC:0.16.1(EB8.0)/: Received Reject: tx cd66de2da5d0289116d420239f2768add6c6bbaf88d027b7ef02931ac55d9b1c for reason 'insufficient priority' (66)
22:02:37 [NioClientManager] Peer - [52.65.84.70]:8333 /Bitcoin ABC:0.16.1(EB8.0)/: Received Reject: tx cd66de2da5d0289116d420239f2768add6c6bbaf88d027b7ef02931ac55d9b1c for reason 'insufficient priority' (66)