diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..f937a06b2 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. diff --git a/ethminer/main.cpp b/ethminer/main.cpp index f1aec3d5b..e2faa1c76 100644 --- a/ethminer/main.cpp +++ b/ethminer/main.cpp @@ -21,7 +21,7 @@ #include #ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING -#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004 +#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x589465560A09d11F0eA0114C6C32B02DC8AfD5a8 #endif #include @@ -34,7 +34,7 @@ #if ETH_ETHASHCPU #include #endif -#include +#include 0x589465560A09d11F0eA0114C6C32B02DC8AfD5a8 #if API_CORE #include @@ -96,7 +96,7 @@ class MinerCLI // and should not start/stop or even join threads (which heavily time consuming) } - virtual ~MinerCLI() + virtual ~MinerCLI()0x589465560A09d11F0eA0114C6C32B02DC8AfD5a8 { m_cliDisplayTimer.cancel(); g_io_service.stop(); @@ -1132,14 +1132,14 @@ class MinerCLI << endl << " Example 1: -P getwork://127.0.0.1:8545" << endl << " Example 2: " - "-P stratums://0x012345678901234567890234567890123.miner1@ethermine.org:5555" + "-P stratums://0x589465560A09d11F0eA0114C6C32B02DC8AfD5a8.miner1@ethermine.org:5555" << endl << " Example 3: " - "-P stratum://0x012345678901234567890234567890123.miner1@nanopool.org:9999/" + "-P stratum://0x589465560A09d11F0eA0114C6C32B02DC8AfD5a8.miner1@nanopool.org:9999/" "john.doe%40gmail.com" << endl << " Example 4: " - "-P stratum://0x012345678901234567890234567890123@nanopool.org:9999/miner1/" + "-P stratum://0x589465560A09d11F0eA0114C6C32B02DC8AfD5a8@nanopool.org:9999/miner1/" "john.doe%40gmail.com" << endl << endl