Open DavidKnott opened 6 years ago
Currently users can spend transactions without having received a confirmation, this should not be allowed.
Add a check to child_chain.py to make sure that the transactions being referenced as inputs have valid confirmations.
child_chain.py
I think the easiest way to handle this is to have the transaction confirmation be included as an input to apply_transaction. Does that make sense?
apply_transaction
Currently users can spend transactions without having received a confirmation, this should not be allowed.
Add a check to
child_chain.py
to make sure that the transactions being referenced as inputs have valid confirmations.