Re: [Bitcoin-development] [PATCH] Change recommended fee to 0.001 BTC

2013-03-11 Thread Luke-Jr
On Monday, March 11, 2013 7:27:51 PM Rune K. Svendsen wrote:
 From: Rune K. Svendsen runesv...@gmail.com
 
 On the Main tab in the Options dialog, it previously said a minimum
 fee of 0.01 is recommended. This amounts to about $0.50 at today's
 price. Change this to 0.001 to be more sensible. We could even go
 lower, perhaps.

Please use GitHub pull requests (or at least publish a git repository) rather 
than mailing patches..

I'd suggest two commits for this:
1. Move the recommended fee outside the translatable string (bonus points to 
format it using the user's preferred unit)
2. Change the recommended fee in one place

Whether the recommended fee *should* be changed or not, I have no opinion on.
Eligius uses a lower minimum fee, but I believe most pools/miners will treat 
anything under 0.01 BTC as if it were no fee at all...

Luke

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] [PATCH] Change recommended fee to 0.001 BTC

2013-03-11 Thread Rune Kjær Svendsen
On Mon, Mar 11, 2013 at 9:46 PM, Luke-Jr l...@dashjr.org wrote:

 On Monday, March 11, 2013 8:34:52 PM Rune Kjær Svendsen wrote:
  Ok. I'll fork on Github. Looking at the source, and some Qt
 documentation,
  it should be doable to do string substitution for both the value and the
  unit.

 Side note: I imagine you'd be substituting a formatted string, and using
 some
 other function to format the string (which already exists to decide how to
 display units elsewhere).


I'm not entirely sure what you mean by this. I plan on using the method
described on this page http://doc.qt.digia.com/3.1/i18n.html under Use
QString::arg() for Simple Arguments and then just putting a %1 and %2 in
the translation strings and substituting for value and unit, respectively.
Haven't tested it yet, but that's what I plan to do.

Where do you want the constant defined? In main.h alongside MIN_TX_FEE
and MIN_RELAY_TX_FEE?


/Rune
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] [PATCH] Change recommended fee to 0.001 BTC

2013-03-11 Thread Luke-Jr
On Monday, March 11, 2013 9:17:25 PM Rune Kjær Svendsen wrote:
 On Mon, Mar 11, 2013 at 9:46 PM, Luke-Jr l...@dashjr.org wrote:
  On Monday, March 11, 2013 8:34:52 PM Rune Kjær Svendsen wrote:
   Ok. I'll fork on Github. Looking at the source, and some Qt
  
  documentation,
  
   it should be doable to do string substitution for both the value and
   the unit.
  
  Side note: I imagine you'd be substituting a formatted string, and using
  some
  other function to format the string (which already exists to decide how
  to display units elsewhere).
 
 I'm not entirely sure what you mean by this. I plan on using the method
 described on this page http://doc.qt.digia.com/3.1/i18n.html under Use
 QString::arg() for Simple Arguments and then just putting a %1 and %2 in
 the translation strings and substituting for value and unit, respectively.
 Haven't tested it yet, but that's what I plan to do.

eg, use a single %1 with
BitcoinUnits::format(walletModel-getOptionsModel()-getDisplayUnit(), amount)

 Where do you want the constant defined? In main.h alongside MIN_TX_FEE
 and MIN_RELAY_TX_FEE?

Sounds reasonable.

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development