Skip to content

test: Implement unit tests for CTransactionBuilder#3677

Merged
UdjinM6 merged 7 commits into
dashpay:developfrom
xdustinface:pr-test-transaction-builder
Sep 4, 2020
Merged

test: Implement unit tests for CTransactionBuilder#3677
UdjinM6 merged 7 commits into
dashpay:developfrom
xdustinface:pr-test-transaction-builder

Conversation

@xdustinface
Copy link
Copy Markdown

Currently based on #3657 where the class to test - CTransactionBuilder - gets introduced.

@UdjinM6 UdjinM6 added this to the 16 milestone Aug 27, 2020
@UdjinM6
Copy link
Copy Markdown

UdjinM6 commented Aug 27, 2020

Pls see https://github.com/UdjinM6/dash/commits/pr3677

@xdustinface xdustinface force-pushed the pr-test-transaction-builder branch from 778c7e6 to dde64e3 Compare September 1, 2020 16:12
Copy link
Copy Markdown

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

Copy link
Copy Markdown
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK, looks good

@UdjinM6 UdjinM6 merged commit c207e0c into dashpay:develop Sep 4, 2020
xdustinface added a commit to xdustinface/dash that referenced this pull request Sep 12, 2020
* makefile.test.include: Let privatesend_tests.cpp depend on ENABLE_WALLET

* test: Implement unit tests for CTransactionBuilder

* Check that we can decrease the amount and GetAmountLeft() is updated accordingly

* Check if resulting tx has a change output when expected

* Avoid pushing nullptr into vecOutputs

* Add few notes about size calculations

* nit: better readability (imo)

Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Mar 12, 2022
* makefile.test.include: Let privatesend_tests.cpp depend on ENABLE_WALLET

* test: Implement unit tests for CTransactionBuilder

* Check that we can decrease the amount and GetAmountLeft() is updated accordingly

* Check if resulting tx has a change output when expected

* Avoid pushing nullptr into vecOutputs

* Add few notes about size calculations

* nit: better readability (imo)

Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants