e1dac558dd
Change fees from sats to bitcoin so the fee value is consistent with the other values. Fixes #10445 Also adds a plugin hook so plugins can create fancy history exports. And stops adding unconfirmed/local transactions to the history as they are unordered and make the export non-deterministic. Also transactions that haven't happened yet don't seem useful for accounting.