URI: 
       tadd more details values to history - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 8f2a730b3b39f2ba663c320cdb10025678a17c4c
   DIR parent d6986347e6b0dc7733884c7a4ecbc45a4d239c41
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Tue,  5 Feb 2019 18:27:01 +0100
       
       add more details values to history
       
       Diffstat:
         M electrum/wallet.py                  |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/electrum/wallet.py b/electrum/wallet.py
       t@@ -444,6 +444,7 @@ class Abstract_Wallet(AddressSynchronizer):
                        'height': tx_mined_status.height,
                        'confirmations': tx_mined_status.conf,
                        'timestamp': timestamp,
       +                'incoming': True if value>0 else False,
                        'value': Satoshis(value),
                        'balance': Satoshis(balance),
                        'date': timestamp_to_datetime(timestamp),
       t@@ -523,6 +524,7 @@ class Abstract_Wallet(AddressSynchronizer):
                fiat_rate = self.price_at_timestamp(tx_hash, fx.timestamp_rate)
                fiat_value = fiat_value if fiat_value is not None else self.default_fiat_value(tx_hash, fx, value)
                fiat_fee = tx_fee / Decimal(COIN) * fiat_rate if tx_fee is not None else None
       +        item['fiat_rate'] = Fiat(fiat_rate, fx.ccy)
                item['fiat_value'] = Fiat(fiat_value, fx.ccy)
                item['fiat_fee'] = Fiat(fiat_fee, fx.ccy) if fiat_fee else None
                item['fiat_default'] = fiat_default