Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci-expanded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,16 @@ jobs:
if: ${{ startsWith(matrix.image, 'windows') }}
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0

- name: Prefer Visual Studio LLVM [windows]
if: ${{ startsWith(matrix.image, 'windows') }}
shell: pwsh
run: |
$arch = if ($env:RUNNER_ARCH -eq 'ARM64') { 'ARM64' } else { 'x64' }
$llvm = Join-Path $env:VCINSTALLDIR Tools Llvm $arch bin
if (-not (Test-Path (Join-Path $llvm 'clang-cl.exe'))) { throw "clang-cl not found in $llvm." }
Add-Content -Path $env:GITHUB_PATH -Value $llvm
& (Join-Path $llvm 'clang-cl.exe') --version

- name: Environmental Computation
shell: bash
run: |
Expand Down Expand Up @@ -1373,6 +1383,16 @@ jobs:
if: ${{ startsWith(matrix.image, 'windows') }}
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0

- name: Prefer Visual Studio LLVM [windows]
if: ${{ startsWith(matrix.image, 'windows') }}
shell: pwsh
run: |
$arch = if ($env:RUNNER_ARCH -eq 'ARM64') { 'ARM64' } else { 'x64' }
$llvm = Join-Path $env:VCINSTALLDIR Tools Llvm $arch bin
if (-not (Test-Path (Join-Path $llvm 'clang-cl.exe'))) { throw "clang-cl not found in $llvm." }
Add-Content -Path $env:GITHUB_PATH -Value $llvm
& (Join-Path $llvm 'clang-cl.exe') --version

- name: Environmental Computation
shell: bash
run: |
Expand Down Expand Up @@ -1868,6 +1888,16 @@ jobs:
if: ${{ startsWith(matrix.image, 'windows') }}
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0

- name: Prefer Visual Studio LLVM [windows]
if: ${{ startsWith(matrix.image, 'windows') }}
shell: pwsh
run: |
$arch = if ($env:RUNNER_ARCH -eq 'ARM64') { 'ARM64' } else { 'x64' }
$llvm = Join-Path $env:VCINSTALLDIR Tools Llvm $arch bin
if (-not (Test-Path (Join-Path $llvm 'clang-cl.exe'))) { throw "clang-cl not found in $llvm." }
Add-Content -Path $env:GITHUB_PATH -Value $llvm
& (Join-Path $llvm 'clang-cl.exe') --version

- name: Environmental Computation
shell: bash
run: |
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,16 @@ jobs:
if: ${{ startsWith(matrix.image, 'windows') }}
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0

- name: Prefer Visual Studio LLVM [windows]
if: ${{ startsWith(matrix.image, 'windows') }}
shell: pwsh
run: |
$arch = if ($env:RUNNER_ARCH -eq 'ARM64') { 'ARM64' } else { 'x64' }
$llvm = Join-Path $env:VCINSTALLDIR Tools Llvm $arch bin
if (-not (Test-Path (Join-Path $llvm 'clang-cl.exe'))) { throw "clang-cl not found in $llvm." }
Add-Content -Path $env:GITHUB_PATH -Value $llvm
& (Join-Path $llvm 'clang-cl.exe') --version

- name: Environmental Computation
shell: bash
run: |
Expand Down Expand Up @@ -587,6 +597,16 @@ jobs:
if: ${{ startsWith(matrix.image, 'windows') }}
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0

- name: Prefer Visual Studio LLVM [windows]
if: ${{ startsWith(matrix.image, 'windows') }}
shell: pwsh
run: |
$arch = if ($env:RUNNER_ARCH -eq 'ARM64') { 'ARM64' } else { 'x64' }
$llvm = Join-Path $env:VCINSTALLDIR Tools Llvm $arch bin
if (-not (Test-Path (Join-Path $llvm 'clang-cl.exe'))) { throw "clang-cl not found in $llvm." }
Add-Content -Path $env:GITHUB_PATH -Value $llvm
& (Join-Path $llvm 'clang-cl.exe') --version

- name: Environmental Computation
shell: bash
run: |
Expand Down Expand Up @@ -854,6 +874,16 @@ jobs:
if: ${{ startsWith(matrix.image, 'windows') }}
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0

- name: Prefer Visual Studio LLVM [windows]
if: ${{ startsWith(matrix.image, 'windows') }}
shell: pwsh
run: |
$arch = if ($env:RUNNER_ARCH -eq 'ARM64') { 'ARM64' } else { 'x64' }
$llvm = Join-Path $env:VCINSTALLDIR Tools Llvm $arch bin
if (-not (Test-Path (Join-Path $llvm 'clang-cl.exe'))) { throw "clang-cl not found in $llvm." }
Add-Content -Path $env:GITHUB_PATH -Value $llvm
& (Join-Path $llvm 'clang-cl.exe') --version

- name: Environmental Computation
shell: bash
run: |
Expand Down
3 changes: 3 additions & 0 deletions console/executor_events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ const std::unordered_map<uint8_t, std::string> executor::fired_
{ events::schnorr_secs, "schnorr_secs........" },
{ events::silent_secs, "silent_secs........." },
{ events::validate_usecs, "validate_usecs......" },
{ events::top_usecs, "top_usecs..........." },

{ events::pool_rows, "pool_rows..........." },

{ events::pool_submit_usecs, "pool_submit_usecs..." },
{ events::pool_coverage_usecs, "pool_coverage_usecs." },
Expand Down
11 changes: 11 additions & 0 deletions src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,17 @@ code settings::initialize() NOEXCEPT
stratum_v1.default_ports();
stratum_v2.default_ports();

admin.default_buffers();
native.default_buffers();
bitcoind.default_buffers();
zmq.default_buffers();
btcd.default_buffers();
electrum.default_buffers();
sparrow.default_buffers();
esplora.default_buffers();
stratum_v1.default_buffers();
stratum_v2.default_buffers();

const auto initialize = [this](auto& service) NOEXCEPT
{
const auto ec = service.initialize_context();
Expand Down
Loading