URI: 
       tdoc for addrequest - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 514ea6aa8c938bc2ccb15c85879a76ef9a8c5828
   DIR parent d41785c7838b019dbab47ad7bf4f7d87086f549d
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Tue,  2 Jun 2015 09:31:24 +0200
       
       doc for addrequest
       
       Diffstat:
         M lib/commands.py                     |       7 ++++++-
       
       1 file changed, 6 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/commands.py b/lib/commands.py
       t@@ -522,7 +522,12 @@ class Commands:
        
            @command('w')
            def addrequest(self, amount, reason='', expiration=60*60):
       -        """Create a payment request. """
       +        """Create a payment request. If 'requests_dir' is set in your
       +        configuration, a bip70 file will be written to that
       +        directory. If you also set 'ssl_key_path' and 'ssl_cert_path',
       +        the request will be signed with your certificate. Note that
       +        the ssl_key_path file must contain the chain of certificates
       +        up to a root CA."""
                amount = int(Decimal(amount)*COIN)
                key = self.wallet.add_payment_request(self.config, amount, reason, expiration)
                return self.wallet.get_payment_request(key) if key else False