Add Bitcoin Core RPC cookie authentication option

This commit is contained in:
Antoni Spaanderman
2023-03-26 16:39:45 +02:00
parent e5efc2957a
commit e9386ec003
11 changed files with 78 additions and 16 deletions

View File

@@ -54,7 +54,9 @@ describe('Mempool Backend Config', () => {
PORT: 8332,
USERNAME: 'mempool',
PASSWORD: 'mempool',
TIMEOUT: 60000
TIMEOUT: 60000,
COOKIE: false,
COOKIE_PATH: ''
});
expect(config.SECOND_CORE_RPC).toStrictEqual({
@@ -62,7 +64,9 @@ describe('Mempool Backend Config', () => {
PORT: 8332,
USERNAME: 'mempool',
PASSWORD: 'mempool',
TIMEOUT: 60000
TIMEOUT: 60000,
COOKIE: false,
COOKIE_PATH: ''
});
expect(config.DATABASE).toStrictEqual({