Skip to content

Drop dead code from Stacks - #13633

Merged
laanwj merged 1 commit into
bitcoin:masterfrom
Empact:stacks
Jul 22, 2018
Merged

Drop dead code from Stacks#13633
laanwj merged 1 commit into
bitcoin:masterfrom
Empact:stacks

Conversation

@Empact

Copy link
Copy Markdown
Contributor

Stacks is local to this file, and only used in DataFromTransaction, so
it's easy to confirm this code is unused.

@Empact

Empact commented Jul 11, 2018

Copy link
Copy Markdown
ContributorAuthor

Split from #13266 /cc @achow101

@promagpromag left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested ACK b170cb1.

Comment threadsrc/script/sign.cpp Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also disallow implicit copy constructor?

Stacks(const Stacks&) = delete;

@practicalswift

Copy link
Copy Markdown
Contributor

Concept ACK

Stacks is local to this file, and only used in DataFromTransaction, so
it's easy to confirm this code is unused.
@sipa

sipa commented Jul 14, 2018

Copy link
Copy Markdown
Member

utACK 5617840

@maflcko

Copy link
Copy Markdown
Member

utACK 5617840

1 similar comment
@fanquake

Copy link
Copy Markdown
Member

utACK 5617840

@laanwj

Copy link
Copy Markdown
Member

utACK 5617840

@laanwj
laanwj merged commit 5617840 into bitcoin:masterJul 22, 2018
laanwj added a commit that referenced this pull request Jul 22, 2018
5617840 Drop dead code from Stacks (Ben Woosley)
Pull request description:
Stacks is local to this file, and only used in DataFromTransaction, so
it's easy to confirm this code is unused.
Tree-SHA512: cc680c99f9b31cb56db70f453087d642f83906ce594c07a6bf3e61427cfbee41441495d440b240419ba3386582cf0670c0999b2f51e7fd56b00e0a0f3f618845
jasonbcox pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Dec 20, 2019
Summary:
5617840 Drop dead code from Stacks (Ben Woosley)
Pull request description:
Stacks is local to this file, and only used in DataFromTransaction, so
it's easy to confirm this code is unused.
Tree-SHA512: cc680c99f9b31cb56db70f453087d642f83906ce594c07a6bf3e61427cfbee41441495d440b240419ba3386582cf0670c0999b2f51e7fd56b00e0a0f3f618845
Backport of Core PR13633
bitcoin/bitcoin#13633
Test Plan:
make check
Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc
Reviewed By: jasonbcox, O1 Bitcoin ABC, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D4726
@bitcoinbitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@Empact@practicalswift@sipa@maflcko@fanquake@laanwj@promag