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

windows: revaultd doesn't start as a daemon even if daemon=true in the conf #338

Open
danielabrozzoni opened this issue Dec 15, 2021 · 3 comments
Labels
bug Something isn't working Windows Windows

Comments

@danielabrozzoni
Copy link
Collaborator

No description provided.

@darosior darosior added the bug Something isn't working label Dec 15, 2021
@darosior
Copy link
Member

Do you have logs?

@darosior darosior added the Windows Windows label Dec 15, 2021
@danielabrozzoni
Copy link
Collaborator Author

I didn't post them as they're not particularly interesting but:

[1639822110][revaultd::daemon::revaultd][WARN] CPFP key not found, consider creating a cpfp_secret file in the datadir. Automated CPFP won't be available.
[1639822110][revaultd][INFO] Using Noise static public key: '0154cb22bdeb6a5875c136fcc65b85f3e162d25367090b809d09fb749d1c3540'
[1639822110][revaultd][DEBUG] Coordinator static public key: 'f35b02f12ff3d64f3c7982b88ffb66fec37bce5796374a7be9e8e2dd9abbb558'
Started revaultd daemon
[1639822110][revaultd::daemon][INFO] Setting up database
[1639822110][revaultd::daemon][INFO] Setting up bitcoind connection
[1639822110][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "getblockchaininfo",
    params: [],
    id: Number(
        1,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822110][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Object({
    "bestblockhash": String(
        "105ff877545f4faccbd20f3b15d5946bc9201a8c9d35a051ad30a2c49045b140",
    ),
    "blocks": Number(
        10,
    ),
    "chain": String(
        "regtest",
    ),
    "chainwork": String(
        "0000000000000000000000000000000000000000000000000000000000000016",
    ),
    "difficulty": Number(
        0.00000000046565423739069247,
    ),
    "headers": Number(
        10,
    ),
    "initialblockdownload": Bool(
        true,
    ),
    "mediantime": Number(
        1639561937,
    ),
    "pruned": Bool(
        false,
    ),
    "size_on_disk": Number(
        3393,
    ),
    "softforks": Object({
        "bip34": Object({
            "active": Bool(
                false,
            ),
            "height": Number(
                500,
            ),
            "type": String(
                "buried",
            ),
        }),
        "bip65": Object({
            "active": Bool(
                false,
            ),
            "height": Number(
                1351,
            ),
            "type": String(
                "buried",
            ),
        }),
        "bip66": Object({
            "active": Bool(
                false,
            ),
            "height": Number(
                1251,
            ),
            "type": String(
                "buried",
            ),
        }),
        "csv": Object({
            "active": Bool(
                false,
            ),
            "height": Number(
                432,
            ),
            "type": String(
                "buried",
            ),
        }),
        "segwit": Object({
            "active": Bool(
                true,
            ),
            "height": Number(
                0,
            ),
            "type": String(
                "buried",
            ),
        }),
        "taproot": Object({
            "active": Bool(
                true,
            ),
            "bip9": Object({
                "min_activation_height": Number(
                    0,
                ),
                "since": Number(
                    0,
                ),
                "start_time": Number(
                    -1,
                ),
                "status": String(
                    "active",
                ),
                "timeout": Number(
                    9223372036854775807,
                ),
            }),
            "height": Number(
                0,
            ),
            "type": String(
                "bip9",
            ),
        }),
        "testdummy": Object({
            "active": Bool(
                false,
            ),
            "bip9": Object({
                "min_activation_height": Number(
                    0,
                ),
                "since": Number(
                    0,
                ),
                "start_time": Number(
                    0,
                ),
                "status": String(
                    "defined",
                ),
                "timeout": Number(
                    9223372036854775807,
                ),
            }),
            "type": String(
                "bip9",
            ),
        }),
    }),
    "verificationprogress": Number(
        1,
    ),
    "warnings": String(
        "",
    ),
})
[1639822110][revaultd::daemon][INFO] Starting JSONRPC server
[1639822110][revaultd::daemon::jsonrpc::server][DEBUG] Removing leftover rpc socket.
[1639822110][revaultd::daemon][INFO] revaultd started on network regtest
[1639822110][revaultd::daemon::sigfetcher][INFO] Signature fetcher thread started.
[1639822110][revaultd::daemon::jsonrpc::server][INFO] JSONRPC server started.
[1639822110][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "getblockchaininfo",
    params: [],
    id: Number(
        2,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822110][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Object({
    "bestblockhash": String(
        "105ff877545f4faccbd20f3b15d5946bc9201a8c9d35a051ad30a2c49045b140",
    ),
    "blocks": Number(
        10,
    ),
    "chain": String(
        "regtest",
    ),
    "chainwork": String(
        "0000000000000000000000000000000000000000000000000000000000000016",
    ),
    "difficulty": Number(
        0.00000000046565423739069247,
    ),
    "headers": Number(
        10,
    ),
    "initialblockdownload": Bool(
        true,
    ),
    "mediantime": Number(
        1639561937,
    ),
    "pruned": Bool(
        false,
    ),
    "size_on_disk": Number(
        3393,
    ),
    "softforks": Object({
        "bip34": Object({
            "active": Bool(
                false,
            ),
            "height": Number(
                500,
            ),
            "type": String(
                "buried",
            ),
        }),
        "bip65": Object({
            "active": Bool(
                false,
            ),
            "height": Number(
                1351,
            ),
            "type": String(
                "buried",
            ),
        }),
        "bip66": Object({
            "active": Bool(
                false,
            ),
            "height": Number(
                1251,
            ),
            "type": String(
                "buried",
            ),
        }),
        "csv": Object({
            "active": Bool(
                false,
            ),
            "height": Number(
                432,
            ),
            "type": String(
                "buried",
            ),
        }),
        "segwit": Object({
            "active": Bool(
                true,
            ),
            "height": Number(
                0,
            ),
            "type": String(
                "buried",
            ),
        }),
        "taproot": Object({
            "active": Bool(
                true,
            ),
            "bip9": Object({
                "min_activation_height": Number(
                    0,
                ),
                "since": Number(
                    0,
                ),
                "start_time": Number(
                    -1,
                ),
                "status": String(
                    "active",
                ),
                "timeout": Number(
                    9223372036854775807,
                ),
            }),
            "height": Number(
                0,
            ),
            "type": String(
                "bip9",
            ),
        }),
        "testdummy": Object({
            "active": Bool(
                false,
            ),
            "bip9": Object({
                "min_activation_height": Number(
                    0,
                ),
                "since": Number(
                    0,
                ),
                "start_time": Number(
                    0,
                ),
                "status": String(
                    "defined",
                ),
                "timeout": Number(
                    9223372036854775807,
                ),
            }),
            "type": String(
                "bip9",
            ),
        }),
    }),
    "verificationprogress": Number(
        1,
    ),
    "warnings": String(
        "",
    ),
})
[1639822110][revaultd::daemon::bitcoind::poller][INFO] Bitcoind is currently performing IBD, this is going to take some time.
[1639822110][revaultd::daemon::bitcoind::poller][INFO] We'll poll bitcoind again in Some(5s) seconds
[1639822110][revaultd::daemon::bitcoind::poller][INFO] Not creating the CPFP wallet, as we don't have a CPFP key
[1639822110][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "listwallets",
    params: [],
    id: Number(
        3,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822110][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Array([
    String(
        "\\\\?\\C:\\Users\\Daniela\\RevaultdData\\regtest\\revaultd-watchonly-wallet-1",
    ),
])
[1639822110][revaultd::daemon::bitcoind::poller][INFO] Watchonly wallet '\\?\C:\Users\Daniela\RevaultdData\regtest\revaultd-watchonly-wallet-1' already loaded.
[1639822110][revaultd::daemon::bitcoind::poller][INFO] bitcoind now synced.
[1639822113][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "getblockcount",
    params: [],
    id: Number(
        4,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822113][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Number(
    10,
)
[1639822113][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "getblockhash",
    params: [
        RawValue(
            10,
        ),
    ],
    id: Number(
        5,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822113][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: String(
    "105ff877545f4faccbd20f3b15d5946bc9201a8c9d35a051ad30a2c49045b140",
)
[1639822113][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "listunspent",
    params: [
        RawValue(
            0,
        ),
        RawValue(
            9999999,
        ),
        RawValue(
            [],
        ),
        RawValue(
            true,
        ),
        RawValue(
            {"minimumAmount":0},
        ),
    ],
    id: Number(
        1,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822113][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Array([])
[1639822113][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "listunspent",
    params: [
        RawValue(
            0,
        ),
    ],
    id: Number(
        2,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822113][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Array([])
[1639822116][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "getblockcount",
    params: [],
    id: Number(
        6,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822116][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Number(
    10,
)
[1639822116][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "getblockhash",
    params: [
        RawValue(
            10,
        ),
    ],
    id: Number(
        7,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822116][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: String(
    "105ff877545f4faccbd20f3b15d5946bc9201a8c9d35a051ad30a2c49045b140",
)
[1639822116][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "listunspent",
    params: [
        RawValue(
            0,
        ),
        RawValue(
            9999999,
        ),
        RawValue(
            [],
        ),
        RawValue(
            true,
        ),
        RawValue(
            {"minimumAmount":0},
        ),
    ],
    id: Number(
        3,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822116][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Array([])
[1639822116][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "listunspent",
    params: [
        RawValue(
            0,
        ),
    ],
    id: Number(
        4,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822116][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Array([])
[1639822119][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "getblockcount",
    params: [],
    id: Number(
        8,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822119][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Number(
    10,
)
[1639822119][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "getblockhash",
    params: [
        RawValue(
            10,
        ),
    ],
    id: Number(
        9,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822119][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: String(
    "105ff877545f4faccbd20f3b15d5946bc9201a8c9d35a051ad30a2c49045b140",
)
[1639822119][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "listunspent",
    params: [
        RawValue(
            0,
        ),
        RawValue(
            9999999,
        ),
        RawValue(
            [],
        ),
        RawValue(
            true,
        ),
        RawValue(
            {"minimumAmount":0},
        ),
    ],
    id: Number(
        5,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822119][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Array([])
[1639822119][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "listunspent",
    params: [
        RawValue(
            0,
        ),
    ],
    id: Number(
        6,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822119][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Array([])
[1639822122][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "getblockcount",
    params: [],
    id: Number(
        10,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822122][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Number(
    10,
)
[1639822122][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "getblockhash",
    params: [
        RawValue(
            10,
        ),
    ],
    id: Number(
        11,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822122][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: String(
    "105ff877545f4faccbd20f3b15d5946bc9201a8c9d35a051ad30a2c49045b140",
)
[1639822122][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "listunspent",
    params: [
        RawValue(
            0,
        ),
        RawValue(
            9999999,
        ),
        RawValue(
            [],
        ),
        RawValue(
            true,
        ),
        RawValue(
            {"minimumAmount":0},
        ),
    ],
    id: Number(
        7,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822122][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Array([])
[1639822122][revaultd::daemon::bitcoind::interface][TRACE] Sending to bitcoind: Request {
    method: "listunspent",
    params: [
        RawValue(
            0,
        ),
    ],
    id: Number(
        8,
    ),
    jsonrpc: Some(
        "2.0",
    ),
}
[1639822122][revaultd::daemon::bitcoind::interface][TRACE] Got from bitcoind: Array([])

@darosior
Copy link
Member

Indeed they aren't. So my best guess is still the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Windows Windows
Projects
None yet
Development

No branches or pull requests

2 participants