Skip to content

Gyp #468

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

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open

Gyp #468

Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
fb5cd1a
Run clang-format
Feb 9, 2019
e7c5368
Merge pull request #240 from btccom/clang-format
de1acr0ix Feb 9, 2019
2db85bf
Add .inl files to clang-format script
Feb 11, 2019
786b1f6
Format all .inl files
Feb 11, 2019
bcb99f4
Simplified earning statistics
Feb 11, 2019
4fe00f0
Option to accept stale shares in slparser
Feb 11, 2019
69408d8
Option to accept stale shares in statshttpd
Feb 11, 2019
abba7b5
Merge pull request #241 from btccom/share-statistics
Feb 11, 2019
c983bf1
Dcrd 1.4.0 docker
Feb 13, 2019
57d86a4
Configurable SSL peer verifcation in blkmaker
Feb 13, 2019
105d824
Provide a default null stratum message dispatcher
Jan 15, 2019
318cd2f
Set CURLOPT_SSL_VERIFYHOST option (#242)
Feb 15, 2019
2d42d90
BTC: move mining.suggest_target handling
Feb 15, 2019
aabab91
Merge pull request #243 from btccom/suggest-target
Feb 15, 2019
fd057dc
jobmaker bitcoin: auxpow_gw_topic and rsk_rawgw_topic will don't trig…
SwimmingTiger Feb 21, 2019
1339f97
update the height of ETH Constantinople hardfork to 7280000.
Feb 26, 2019
66c65ee
BTC: use short job ID from 0 to 255
Feb 20, 2019
34f4128
Fix unittest errors
Feb 27, 2019
8221901
Fix clang-format
Feb 27, 2019
805b5e9
Fix TestStatistics.cc
Feb 27, 2019
c3f45b6
Use static network configuration in DCR
Dec 14, 2018
8de9cbb
Change DCR protocol option gominer to nicehash
Dec 14, 2018
85ae853
Merge pull request #248 from btccom/dcr-option-change
Feb 27, 2019
9fbf894
Reverse seek local jobs
Feb 28, 2019
82389e4
Dispatch sserver tasks in libevent loop
Mar 1, 2019
dab18b2
sserver: Fix a potential memory exception
SwimmingTiger Mar 1, 2019
99895c2
sserver bitcoin: fix "job not found" for NiceHash client
Mar 10, 2019
ee1ddc1
sserver: ignore SIGPIPE, avoiding process be killed
Mar 17, 2019
d16a45f
gwmaker RSK: fix "rsk getwork fields failure" in jobmaker
Mar 27, 2019
bc24673
更改收益
gstchain Sep 27, 2020
1284f78
更改收益模式
gstchain Oct 14, 2020
90a901c
取消前缀
gstchain Oct 26, 2020
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
Prev Previous commit
Next Next commit
sserver: Fix a potential memory exception
SwimmingTiger authored and YihaoPeng committed Mar 5, 2019
commit dab18b2bc90b3db2fb30698fc04e7e21a06acd11
6 changes: 3 additions & 3 deletions src/StratumServer.cc
Original file line number Diff line number Diff line change
@@ -318,11 +318,11 @@ void JobRepository::tryCleanExpiredJobs() {
break; // not expired
}

// remove expired job
exJobs_.erase(itr);

LOG(INFO) << "remove expired stratum job, id: " << itr->first
<< ", time: " << date("%F %T", jobTime);

// remove expired job
exJobs_.erase(itr);
}
}