Skip to content

Prevent bitcoind from printing to stdout - #498

Open
achow101 wants to merge 1 commit into
goatpig:devfrom
achow101:fix-printtoconsole
Open

Prevent bitcoind from printing to stdout#498
achow101 wants to merge 1 commit into
goatpig:devfrom
achow101:fix-printtoconsole

Conversation

@achow101

@achow101 achow101 commented May 28, 2018

Copy link
Copy Markdown

Fixes #497

bitcoind now prints to console by default when -daemon is not set. Since we do not use -daemon, the output to stdout produced by bitcoind is getting caught somewhere and causing bitcoind to block. This PR sets -noprinttoconsole when we start bitcoind to suppress this behavior.

This change should be backport-able to master if necessary. Note that this change to bitcoind will be present in 0.17.0 and is not in any current release.

@achow101 achow101 mentioned this pull request May 28, 2018
@droark

droark commented May 28, 2018

Copy link
Copy Markdown

utACK

Looks good at a glance. Will test later.

Personally, I wouldn't mind seeing a 0.96.5 release, just in case people wait a bit to upgrade to 0.97 (which will have a lot of under-the-hood changes). I just think it'll save us a lot of grief in the long run. I think there's a lockbox bug that also needs to be fixed? Those two are the only things I can think of offhand that I'd want to see in 0.96.5.

@goatpig

goatpig commented May 28, 2018

Copy link
Copy Markdown
Owner

there are a few minor bugs pilling up that could do with a .5 indeed

@droark

droark commented May 29, 2018

Copy link
Copy Markdown

tACK

Compiled the version of Core that the OP had been using and modified Armory 0.96.4 to include this patch. I then ran an auto-managed bitcoind on Linux and confirmed that everything worked properly.

As a nit, I'd like to see a fixup where the documentation is updated. Users who run bitcoind manually (e.g., me) ought to know about the changes in 0.17. Maybe add something like howtorunbitcoinmanually.md? It doesn't need to be long. It just needs the basics. This would also be a good reference for people who end up having to stop using auto-management (which, honestly, I'm kinda thinking we might want to kill one day anyway).

@achow101

Copy link
Copy Markdown
Author

As a nit, I'd like to see a fixup where the documentation is updated. Users who run bitcoind manually (e.g., me) ought to know about the changes in 0.17

The changes to Core, including this one, (usually) don't effect manual bitcoind users.

@achow101

achow101 commented Jan 9, 2019

Copy link
Copy Markdown
Author

Was this missed for .5?

@goatpig

goatpig commented Jan 10, 2019

Copy link
Copy Markdown
Owner

Apparently. This is a PR to dev, which 0.97. 0.96.5 was developed in testing.

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