Re: Risky transactions

2017-04-19 Thread Andreas Schildbach
Oh yes you're right. I didn't even know this method exists (-:


On 04/19/2017 04:48 PM, hererd...@gmail.com wrote:
> Thank you for your reply.
> 
> Maybe just using Wallet.setAcceptRiskyTransactions(true) method will do
> the job?
> 
> On Wednesday, April 19, 2017 at 5:03:50 PM UTC+3, Andreas Schildbach wrote:
> 
> You can set your own implementation of RiskAnalysis.Analyzer using
> wallet.setRiskAnalyzer(). Hardcoding the result to OK should do.
> 
> (We could even change the .setRiskAnalyzer() method to accept null so
> that you can disable any analysis.)
> 
> 
> On 04/19/2017 03:48 PM, here...@gmail.com wrote:
> > The wallet keeps on dropping some transactions, which it considers as
> > risky. It breaks our app's logic when this happens.
> >
> > Is it possible to not differentiate risky and pending
> transactions? How?
> >
> > Or maybe even disable this risk detection.
> >
> > Here is an example below:
> >
> > --
> > --
> > Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.DefaultRiskAnalysis
> isStandard
> > WARNING: TX considered non-standard due to unknown version number 2
> > Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.Wallet isTransactionRisky
> > WARNING: Pending transaction was considered risky: Risky due to
> > non-standard tx
> >
> > Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.Wallet receivePending
> > WARNING: There are now 1 risk dropped transactions being kept in
> memory
> >
> 
> 
> 
> >
> > Thanks.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "bitcoinj" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to bitcoinj+u...@googlegroups.com
> > .
> > For more options, visit https://groups.google.com/d/optout
> .
> Y
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bitcoinj" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bitcoinj+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Risky transactions

2017-04-19 Thread hererdank
Thank you for your reply.

Maybe just using Wallet.setAcceptRiskyTransactions(true) method will do the 
job?

On Wednesday, April 19, 2017 at 5:03:50 PM UTC+3, Andreas Schildbach wrote:
>
> You can set your own implementation of RiskAnalysis.Analyzer using 
> wallet.setRiskAnalyzer(). Hardcoding the result to OK should do. 
>
> (We could even change the .setRiskAnalyzer() method to accept null so 
> that you can disable any analysis.) 
>
>
> On 04/19/2017 03:48 PM, here...@gmail.com  wrote: 
> > The wallet keeps on dropping some transactions, which it considers as 
> > risky. It breaks our app's logic when this happens. 
> > 
> > Is it possible to not differentiate risky and pending transactions? How? 
> > 
> > Or maybe even disable this risk detection. 
> > 
> > Here is an example below: 
> > 
> > -- 
> > -- 
> > Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.DefaultRiskAnalysis 
> isStandard 
> > WARNING: TX considered non-standard due to unknown version number 2 
> > Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.Wallet isTransactionRisky 
> > WARNING: Pending transaction was considered risky: Risky due to 
> > non-standard tx 
> > 
> > Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.Wallet receivePending 
> > WARNING: There are now 1 risk dropped transactions being kept in memory 
> > 
>  
>
> > 
> > Thanks. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "bitcoinj" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to bitcoinj+u...@googlegroups.com  
> > . 
> > For more options, visit https://groups.google.com/d/optout. 
> Y 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Risky transactions

2017-04-19 Thread Andreas Schildbach
You can set your own implementation of RiskAnalysis.Analyzer using
wallet.setRiskAnalyzer(). Hardcoding the result to OK should do.

(We could even change the .setRiskAnalyzer() method to accept null so
that you can disable any analysis.)


On 04/19/2017 03:48 PM, hererd...@gmail.com wrote:
> The wallet keeps on dropping some transactions, which it considers as
> risky. It breaks our app's logic when this happens.
> 
> Is it possible to not differentiate risky and pending transactions? How?
> 
> Or maybe even disable this risk detection.
> 
> Here is an example below:
> 
> --
> --
> Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.DefaultRiskAnalysis isStandard
> WARNING: TX considered non-standard due to unknown version number 2
> Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.Wallet isTransactionRisky
> WARNING: Pending transaction was considered risky: Risky due to
> non-standard tx
> 
> Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.Wallet receivePending
> WARNING: There are now 1 risk dropped transactions being kept in memory
> 
> 
> Thanks.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bitcoinj" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bitcoinj+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
Y

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Risky transactions

2017-04-19 Thread hererdank
The wallet keeps on dropping some transactions, which it considers as 
risky. It breaks our app's logic when this happens.

Is it possible to not differentiate risky and pending transactions? How? 

Or maybe even disable this risk detection.

Here is an example below:

--
--
Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.DefaultRiskAnalysis isStandard
WARNING: TX considered non-standard due to unknown version number 2
Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.Wallet isTransactionRisky
WARNING: Pending transaction was considered risky: Risky due to 
non-standard tx

Apr 19, 2017 1:51:43 PM org.bitcoinj.wallet.Wallet receivePending
WARNING: There are now 1 risk dropped transactions being kept in memory


Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.