Skip to content

1403 Adjust Validate Transaction for Checking Balance #1404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

1403 Adjust Validate Transaction for Checking Balance #1404

wants to merge 2 commits into from

Conversation

sukrawidhyawan
Copy link
Contributor

Description

Adjust Validate transaction to check actual balance instead of spendable balance when push block. Validate to check spendable balance only when receiving a transaction when post transaction or from Peer.

Breakdown

  • [x]Add HasEnoughBalance to check the actual balance of an account
  • Add agreement checkOnSpendableBalance on Validate & EscrowValidate transaction to give option check into spendable balance or actual balance.

Reference Issue

Close #1403

Step to Test (optional)

run multiple nodes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance: Adjust Validate Account Balance for Incoming Transactions Block
5 participants