Skip to content
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

Block Reward Transaction Support (Coinbase Txs) #417

Merged
merged 4 commits into from
Nov 8, 2024
Merged

Conversation

samholmes
Copy link
Contributor

@samholmes samholmes commented Nov 5, 2024

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

The errors through were crashing the `taskGeneratorFn` routine, halting
the wallet entirely. Instead, the errors should be delegated to the
pickNextTask routine to be handled or not. If handled, then continue
the routine with result, if not, then assume a end result, and continue.
Copy link
Contributor

@swansontec swansontec left a comment

Choose a reason for hiding this comment

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

Small suggestions.

version "0.3.16"
resolved "https://registry.yarnpkg.com/cleaners/-/cleaners-0.3.16.tgz#d3a7ab936cb78b0d6ac19ba87b2d28ec41f30502"
integrity sha512-Ecu8Fwv3wT7GV44K4Zas2CQJI11ZV/yPwoh8Gg9BSV6rAmhNsqFeWceA1RII1czbarFSG3XClUePrpI806OvRw==

cleaners@^0.3.17:
Copy link
Contributor

Choose a reason for hiding this comment

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

Please run the yarn-deduplicate tool in this repo. We don't need multiple copies of the cleaner library.

Comment on lines +98 to +100
asEither(
// Address input:
asObject({
Copy link
Contributor

Choose a reason for hiding this comment

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

Optional: This cleaner is getting pretty deep. It might be easier to read if we define asAddressVin and asCoinbaseVin types on the outside, and then do asEither(asAddressVin, asCoinbaseVin) in here.

@samholmes samholmes merged commit 0e0686a into master Nov 8, 2024
2 checks passed
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.

2 participants