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

Segwit fee calculation #68

Merged
merged 6 commits into from
Aug 28, 2023
Merged

Conversation

julia-zack
Copy link
Contributor

No description provided.

@julia-zack julia-zack changed the base branch from master to segwit-poc August 25, 2023 16:10
@@ -576,7 +576,7 @@
}

log.info("Completing send tx with {} outputs totalling {} and a fee of {}/kB", req.tx.getOutputs().size(),
value.toFriendlyString(), req.feePerKb.toFriendlyString());
value.toFriendlyString(), req.feePerKb.toFriendlyString());

Check warning

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
feePerKb
may be null at this access as suggested by
this
null guard.
return txVirtualSize;
}

public static int bytesToAdd(BtcTransaction tx) {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'tx' is never used.
@julia-zack julia-zack changed the base branch from segwit-poc to final-segwit-poc August 28, 2023 14:49
@julia-zack julia-zack merged commit b30262c into final-segwit-poc Aug 28, 2023
@marcos-iov marcos-iov deleted the segwit_fee_calculation branch August 29, 2023 13:55
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.

1 participant