Transfer Module Upgrade
A new form of transfer module should be developed which not only transfers the funds between recipients but also transfers the funds according the General Ledger principles.
Although the blockchain does not intrinsically distinguish between a personal and business account IDs, (and neither do we want this to be the case), the module should enhance a blockchain currency transaction to include the update to the general ledger with some form of classification of the transfer type.
In a business context this could not go unclassified, but in order to apply privacy standards classifying all transactions of this type means that there can be no distinction between business and personal accounts.
The Transfer module primarily increases the free balance on one account ID and decreases the free balance on another. In doing so additional storage updates are made as follows:
A transfer of funds initiates a credit of the XTX balance account 110100040000000
of the sender. It also triggers a debit on either a specific p2p Expense account (meals & food, travel, clothing, rent, gift, etc... see the general ledger for details).
In addition the control ledger should be credited for Purchase by partner and p2p control.
In the recipients GL debit 110100040000000
for the amount and credit the corresponding p2p receipts (meals & food, travel, clothing, rent, gift, etc...)
The front-end should enforce the rules in the corresponding Issue.