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

V23develop merge to master #37

Merged
384 commits merged into from
Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
384 commits
Select commit Hold shift + click to select a range
cc30219
Using FQN to reference network_params.
clemahieu Jul 29, 2021
e0387c5
Fixing cycle in initialization order of nano::dev::constants.genesis_…
clemahieu Jul 29, 2021
95b7cf9
remove errexit ghcr.io has some edgecase rules, and isnt required for…
argakiig Jul 29, 2021
c2d7ddb
Merge pull request #3406 from nanocurrency/network_params_ref
clemahieu Jul 29, 2021
fcbcb5b
Add deprecation output to "history" RPC (#3397) (#3398)
shryder Jul 30, 2021
4dede6d
Removing unused variable.
clemahieu Aug 1, 2021
e2cd9c7
Removing unnecessary is_dev_network checks and removing unused refere…
clemahieu Aug 1, 2021
02d8673
Removing unused usages of nano::network_params
clemahieu Aug 1, 2021
957ebe1
Network selector (#3410)
argakiig Aug 2, 2021
49d6615
Removing unnecessary checks for is_dev_network in confirmation height…
clemahieu Aug 3, 2021
2068e04
Rewrite reset_confirmation_heights to use a reference to ledger_const…
clemahieu Aug 3, 2021
4a737c4
Converting node_id_handshake from unnecessarily using channel::send_b…
clemahieu Aug 3, 2021
fe97b2e
Removing the version_min_m member from nano::message_header as unnece…
clemahieu Aug 3, 2021
7b7a105
Passing nano::protocol_constants in to message_parser rather than ref…
clemahieu Aug 3, 2021
abdfe15
Sending message via nano::channel::send rather than directly via send…
clemahieu Aug 3, 2021
240b1f8
Moving message header version assignment to nano::channel::send rathe…
clemahieu Aug 3, 2021
5ece01a
Removing unused variables.
clemahieu Aug 3, 2021
0f2c738
Removing unused references to nano::network_params and replacing a st…
clemahieu Aug 3, 2021
624674a
Replacing static network_params with a default inactive node.
clemahieu Aug 3, 2021
0d4f505
Threading is_state_epoch through block callbacks and removing static …
clemahieu Aug 4, 2021
20828e6
Removing default constructor for nano::network_params that uses stati…
clemahieu Aug 4, 2021
7230b1f
Merging protocol_constants in to network_constants.
clemahieu Aug 5, 2021
8460306
Initializing message_header version and network fields from nano::net…
clemahieu Aug 5, 2021
298d38c
Merge pull request #3413 from nanocurrency/network_params_ref
clemahieu Aug 6, 2021
6410c52
Removing legacy path from nano::working_path as versions that use thi…
clemahieu Aug 6, 2021
e45490e
test_common not required for qt only for qt_test (#3415)
argakiig Aug 6, 2021
a5b9c3f
Remove qt_system target we dont need it or use it (#3418)
argakiig Aug 6, 2021
bf53120
Passing nano::network_constants by ref in to work_pool rather than in…
clemahieu Aug 7, 2021
4a51d0c
Using object reference to network_constants rather than static instan…
clemahieu Aug 7, 2021
68f07fa
Referencing network_constants by reference within websocket_config.
clemahieu Aug 8, 2021
9fea509
Removing static instances of nano::network_constants within unit tests.
clemahieu Aug 8, 2021
238ae67
Moving work_threshold constants on to work_threshold class where they…
clemahieu Aug 8, 2021
cad65ee
Pulling nano::network_constants reference through ipc_config_tcp_sock…
clemahieu Aug 8, 2021
210f725
Pulling network_constants reference through rpc_config rather than in…
clemahieu Aug 8, 2021
c2f19a3
Passing nano::networks enum in to working_path rather than statically…
clemahieu Aug 8, 2021
7520bbe
Converting upgrade logging message that was writing to cerr to a stan…
clemahieu Aug 8, 2021
a1598c9
Removing workaround for coroutines in combination with sanitizers as …
clemahieu Aug 8, 2021
0e8b7cd
Moving threshold classes from free-functions with static network_para…
clemahieu Aug 8, 2021
442fb1e
Moving ::value function on to nano::work_thresholds where it belongs.
clemahieu Aug 8, 2021
aef5020
Moving work_v1::value function on to work_thresholds where it belongs.
clemahieu Aug 8, 2021
49aaac7
Moving threshold function on to work_thresholds class where it belongs.
clemahieu Aug 8, 2021
8e53b14
Moving multiplier normalization from being a free function in to work…
clemahieu Aug 8, 2021
3d71605
Moving work_threshold_base from a free function to a member of work_t…
clemahieu Aug 8, 2021
243a4d9
Moving work_difficulty free function on to work_thresholds class.
clemahieu Aug 8, 2021
868ec86
Moving work_validate from a free function to a member of nano::work_t…
clemahieu Aug 8, 2021
4dead4c
Moving valide_entry from a free function to a method of work_thresholds.
clemahieu Aug 8, 2021
0096d20
Passing work_thresholds in to ledger_constants and removing static re…
clemahieu Aug 9, 2021
e4e2220
Removing check for is_dev_network within using_rocksdb_in_tests as it…
clemahieu Aug 9, 2021
9d47208
Removing unnecessary check for running within unit test context and a…
clemahieu Aug 9, 2021
013104c
This removes debug checks for is_dev_network in several places that d…
clemahieu Aug 9, 2021
2a94a3b
Constifying work_threshold functions.
clemahieu Aug 9, 2021
c3ac780
Moving nano::block::difficulty on to nano::work_thresholds. This move…
clemahieu Aug 9, 2021
ebcf70e
Pulling a work_thresholds reference through opencl_work class so it d…
clemahieu Aug 10, 2021
a56a8d1
Removing empty constructor from network_constants.
clemahieu Aug 10, 2021
a8db7e7
Changing node_config from holding a copy of nano::network_params to h…
clemahieu Aug 10, 2021
7d4bc91
Rewriting how telemetry tests are run so their modifications don't al…
clemahieu Aug 10, 2021
54fb102
Moving work_thresholds in to their own object within network_params a…
clemahieu Aug 10, 2021
bb95786
Merge pull request #3420 from nanocurrency/removing_static_constants
clemahieu Aug 12, 2021
36c1874
This is a fix where daemon_config was not switching its active networ…
clemahieu Aug 12, 2021
68936b4
Update major version to 23 and add pre release version 99 as non-rele…
zhyatt Aug 12, 2021
db6c162
Fixing issue where the selected_ratio_button assert was being checked…
clemahieu Aug 31, 2021
82153c8
fix failing build with boost >= 1.76 (#3433)
slact Sep 1, 2021
122e113
fix failure to build with GCC11 (#3434)
slact Sep 1, 2021
a09a3a3
nano::bootstrap_connections is composed of nano::bootstrap_connection…
clemahieu Sep 2, 2021
7337ea5
Removing unused variable. (#3440)
clemahieu Sep 7, 2021
2e769bf
Removing null checks for nano::bootstrap::socket since it's required …
clemahieu Sep 9, 2021
2280ff1
Remove node_id_handshake_sockets as unneeded. (#3442)
clemahieu Sep 13, 2021
84f4efd
Fill_keepalive_self sets special values in index 0 and 1 to refer to …
clemahieu Sep 13, 2021
4e2ffe9
Have cmake copy flatbuffer schema files to simplify dev (#3446)
cryptocode Sep 13, 2021
ce29ba0
Cleanup nano::transport::establish_tcp
clemahieu Sep 11, 2021
942e12e
Remove keepalive_tcp_callback as unnecessary.
clemahieu Sep 11, 2021
3159a5c
Removing usage of callback to send keepalive as unnecessary.
clemahieu Sep 11, 2021
ff76c1e
Remove direct rep_crawler query in add_initial_peers as all peers are…
clemahieu Sep 11, 2021
c12ee36
Remove keepalive callback from add_initial_peer.
clemahieu Sep 11, 2021
6552a82
Removing keepalive callback passed in through start_tcp as unnecessary.
clemahieu Sep 11, 2021
e055092
Connect to node2 over TCP instead of falling back to UDP as this is u…
clemahieu Sep 11, 2021
372a128
Removing start_tcp callback and poll for channel to node2 from node.
clemahieu Sep 11, 2021
809e50b
Removing callback passed through merge_peer as it's only used for udp…
clemahieu Sep 12, 2021
e1786a4
Remove callbacks passed through start_tcp as they're no longer used.
clemahieu Sep 12, 2021
75149ef
Fix CI clang-format script to tell if clang-format cannot be found (#…
theohax Sep 16, 2021
89e6f44
Require fixed version of clang-format (#3454)
theohax Sep 17, 2021
5c66c28
Fix a crash that would sometimes happen in debug builds at handshakes…
theohax Sep 20, 2021
08e24fa
Replace "pending" with "receivable"/"ready to receive" in node logs (…
shryder Sep 21, 2021
cffdc23
Add "confirmed" field to "account_history" RPC response (#3424) (#3429)
shryder Sep 21, 2021
4255a38
Fix for the bootstrap request queue processing (#3461)
theohax Sep 21, 2021
38026fc
Make code formatting compliant with clang-format 12 (#3460)
theohax Sep 21, 2021
f4277a9
Bugfix: node_wrapper using dev net params instead of active (issue #3…
dsiganos Sep 15, 2021
ce8ed17
CLI command debug_block_dump
dsiganos Sep 21, 2021
fc239a8
Add --initialize command
dsiganos Sep 21, 2021
776be13
Improve existing systests
dsiganos Sep 21, 2021
546ff6c
Test for wallet_create cli command
dsiganos Sep 21, 2021
61b3347
Merge pull request #3465 from dsiganos/fix_node_wrapper_network_params
dsiganos Sep 22, 2021
8ecbb1d
Improve clang-format detection & enforcement (#3462)
theohax Sep 22, 2021
9e2e8d2
Formatting workaround to make clang-format happy on OSX (#3467)
clemahieu Sep 22, 2021
a15f239
Fix Windows build (#3469)
theohax Sep 22, 2021
96f1868
Add some flags to the command line options list (#3474)
dsiganos Sep 27, 2021
65048c8
Node flag to disable calling add_initial_peers function
dsiganos Sep 26, 2021
b897c73
Fix for unit test rpc.epoch_upgrade #3476
dsiganos Sep 27, 2021
a2cb393
Fix unit test case node.search_pending_pruned (#3479)
dsiganos Sep 28, 2021
736af8f
Add systests to CI and fix for rocksdb mode (issue #3447) (issue #345…
dsiganos Sep 28, 2021
9f397d2
Replace "pending" with "receivable"/"ready to receive" in QT wallet (…
shryder Sep 28, 2021
c9236bb
Fix cmake-format-all.sh script + friendlier xargs usage (#3470)
theohax Sep 29, 2021
6bff63e
Redesign CI format check/update scripts according to review (#3486)
theohax Sep 30, 2021
468b4c1
Changed dev ports.
ArTombado Oct 2, 2021
1e8c041
Minor improvements to slow_test (#3487)
dsiganos Oct 3, 2021
d03e02e
Merge branch 'master' into change_dev_ports
ArTombado Oct 4, 2021
485e994
Comment on_connection_requeue_delayed (#3492)
dsiganos Oct 6, 2021
3c65a53
Merge pull request #3443 from nanocurrency/cleanup_establish_tcp
clemahieu Oct 6, 2021
e9fe080
Merge pull request #3353 from SergiySW/submodules/flatbuffers_200
clemahieu Oct 6, 2021
1eefcaf
Refer to empty/null accounts as nano::account{nullptr} (#3388)
theohax Oct 6, 2021
30b3e39
Cleanup qt_system remnants (#3189) (#3488)
dsiganos Oct 12, 2021
fb49976
Possible race condition fix in ledger_walker.ladder_geometry test (#3…
theohax Oct 12, 2021
6063f5f
Fix handling of SIGSEGV and SIGABRT in nano_node (#3502)
dsiganos Oct 13, 2021
c2fe0eb
Endianess fix for vote timestamp field (does not affect x86) (#3500)
dsiganos Oct 13, 2021
4cfbc75
Merge pull request #24 from ArTombado/change_dev_ports
Oct 14, 2021
48f3dac
Update common.cpp
Oct 14, 2021
820097f
Update CMakeLists.txt
Oct 15, 2021
7b5e4d7
Add [[nodiscard]] attribute to node::process method (#3505)
theohax Oct 16, 2021
008d725
Formatting rules update -- indentation rules improvements (#3506)
theohax Oct 19, 2021
8602d35
Brings back broadcasting blocks on process_live (#3507)
thsfs Oct 19, 2021
59e5c76
Fix for RPC stop command (#3191) (#3275)
dsiganos Oct 20, 2021
2f098d4
Add `receivable` along with `pending` to RPC responses (#3439)
shryder Oct 20, 2021
7bdc79c
Fix Windows build (signal handling) (#3509)
theohax Oct 20, 2021
f1f6726
Handle SIGABRT and SIGSEGV on Windows (#3511)
theohax Oct 21, 2021
9bb89ab
Improvements in const correctness and 'const' positioning (#3510)
theohax Oct 21, 2021
5042967
Disable (intermittently) failing unit tests (#3512)
theohax Oct 25, 2021
6587a0a
Added config option for rep crawler logging
dsiganos Oct 26, 2021
782ea18
Disable intermittently failing unit tests (#3526)
theohax Oct 26, 2021
98404e4
Include <csignal> for std::signal usage (#3525)
theohax Oct 26, 2021
ced4eef
rep_crawler: remove a couple of levels of nested ifs
dsiganos Oct 27, 2021
1e24198
Print better and different logs when adding or updating rep_crawler e…
dsiganos Oct 27, 2021
d3ad6a0
Redesigning vote_processor::flush test to not directly modify timesta…
clemahieu Oct 27, 2021
fb8e912
Removing timestamp changing and re-signing as this is re-testing some…
clemahieu Oct 27, 2021
f58fbe4
Encapsulating vote::timestamp field as vote::timestamp_m behind vote:…
clemahieu Oct 27, 2021
9f2f1b0
Add nano::vote::timestamp_min and nano::vote::timestamp_max variables…
clemahieu Oct 27, 2021
81afa05
Formatting.
clemahieu Oct 28, 2021
cf583ae
node config: rep_crawler_weight_minimum allows rep crawler to track n…
dsiganos Oct 27, 2021
82f97ad
Make rep_crawler_weight_minimum be a valid acceptable value
dsiganos Oct 27, 2021
0cb9b7d
Merge pull request #3531 from dsiganos/rep_crawler_weight_minimum
dsiganos Oct 28, 2021
0ef47a1
Disable intermittently failing unit test (#3532)
thsfs Oct 28, 2021
6442495
Disable intermittently failing unit test (#3536)
thsfs Oct 28, 2021
1e60488
Secure websocket support and certificate config improvements. (#3032)
cryptocode Nov 1, 2021
63f7b68
Updating miniupnp to v2.2.3 (#3541)
clemahieu Nov 2, 2021
608b4c4
Community Patch 1 (from VoxPopuli Team) - removed low_active_election…
clemahieu Nov 3, 2021
e7c585a
Merge branch 'develop' of https://github.com/nanocurrency/nano-node i…
Nov 4, 2021
a3ac62c
Merge branch 'v22.2' into V23develop
Nov 4, 2021
ad39262
bugfix
Nov 4, 2021
2ef18c5
bugfix
Nov 4, 2021
25899f0
bugfix
Nov 4, 2021
7f13635
clang format
Nov 4, 2021
6913f91
bugfix
Nov 4, 2021
97158e8
bugfix
Nov 4, 2021
e1e6666
fix peers
Nov 4, 2021
d9af3a4
Implement "accounts_representatives" RPC (#3409) (#3412)
shryder Nov 4, 2021
8ab08a1
Merge pull request #3544 from nanocurrency/vote_timestamp_encapsulation
clemahieu Nov 5, 2021
a063100
Fix crash in nano_wallet when ran with --config option (#3546)
theohax Nov 5, 2021
cbe19d8
Fix conflicts.add_two unit test (#3545)
theohax Nov 5, 2021
f2cb6ed
updated bootstrap weights
renesq Nov 6, 2021
c6c6451
tracking V23develop merging (#31)
Nov 6, 2021
db0f691
Gxrb_ratio => MBAN_ratio
Nov 6, 2021
6e45ffc
Gxrb_ratio => MBAN_ratio
Nov 6, 2021
d295f02
reverting reneq .gitignore
Nov 6, 2021
b698dfb
making shell files same
Nov 6, 2021
d90742c
making shell files same
Nov 6, 2021
f49be1a
making shell files same
Nov 6, 2021
24cd771
making shell files same
Nov 6, 2021
a5e681b
removing stray crlf
Nov 6, 2021
bf22417
Removing old (disabled) conflicts.add_two unit test (#3547)
thsfs Nov 6, 2021
c3eb619
re-adding test add_two
Nov 6, 2021
07c8237
re-adding test add_two
Nov 6, 2021
b49d4a2
had MBAN instead of BAN in nano_to_raw
Nov 7, 2021
3641cfe
removing qt_system
Nov 7, 2021
82d1b6c
fixing QT.cpp
Nov 7, 2021
f8dbbf5
fixing whitespace
Nov 7, 2021
0c1a0fe
fixing whitespace
Nov 7, 2021
8410b29
fixing whitespace
Nov 7, 2021
57757e3
fixing difficulty test.
Nov 7, 2021
089de15
fixing difficulty test.
Nov 7, 2021
6a5837c
fixing block test
Nov 7, 2021
aa3602e
fixing difficulty, message, toml tests.
Nov 7, 2021
116fdb3
fixing amount test
Nov 7, 2021
93bbdfa
fixing uint256 and wallet tests
Nov 7, 2021
7b35f52
debugging difficulty test.
Nov 7, 2021
e79f50e
debugging difficulty test.
Nov 7, 2021
468c33f
debugging difficulty test.
Nov 7, 2021
67042e2
debugging union test
Nov 7, 2021
049269c
Merge branch 'nanocurrency:develop' into V23develop
Nov 7, 2021
1b6b7ef
debuging remaining tests.
Nov 7, 2021
9e5f453
debuging remaining tests.
Nov 7, 2021
a8d1cd4
debugging difficulty test.
Nov 7, 2021
838e86d
debugging difficulty test.
Nov 7, 2021
ecda289
debugging difficulty test.
Nov 7, 2021
e8bf333
Fixes/splits vote_processor.no_broadcast_local (#3550)
thsfs Nov 16, 2021
b3f6f27
Deadline timer cleanup (#2921)
clemahieu Nov 16, 2021
15f8bde
Merge branch 'nanocurrency:develop' into V23develop
Nov 16, 2021
57ed3cc
Adding duration to vote timestamps. (#3548)
clemahieu Nov 18, 2021
fd3e87b
Merge branch 'nanocurrency:develop' into V23develop
renesq Nov 18, 2021
82a7fcf
* Adds a maximum per ip connection limit to incoming connections
thsfs Nov 3, 2021
d41789d
Separate the logic for sub-network limiting on outgoing connections (…
thsfs Nov 3, 2021
5a274cd
Fix issue identified with valgrind where priv_key starts uninitialized.
clemahieu Nov 18, 2021
62fbc45
Timeouts silent incoming connections
clemahieu Nov 18, 2021
dd53b8e
Disable intermittently failing UT rpc.send_epoch_2 (#3560)
theohax Nov 22, 2021
46092e8
Disable intermittently failing UT bootstrap_processor.push_diamond (#…
theohax Nov 22, 2021
5fbe75e
Disable intermittently failing UT node.vote_by_hash_republish (#3556)
theohax Nov 22, 2021
5d369dd
Add suppressions for Rijndael::Base::FillEncTable and Rijndael::Base:…
clemahieu Nov 19, 2021
cb87f07
Merge pull request #3563 from nanocurrency/sanitizer_fixes
clemahieu Nov 22, 2021
941331b
Merge pull request #3564 from nanocurrency/network_limiting
clemahieu Nov 22, 2021
242e9e3
Updating version for V23.0RC1
clemahieu Nov 22, 2021
7e0d054
Update live rep weights file: (#3565)
clemahieu Nov 22, 2021
b47b3dc
Update beta rep weights file (#3566)
zhyatt Nov 22, 2021
042be00
Update live rep weights file: (#3565)
clemahieu Nov 22, 2021
79538a5
Update beta rep weights file (#3566)
zhyatt Nov 22, 2021
92c0d31
Turns off sub-network connection limiting for IPv4 (#3567)
thsfs Nov 23, 2021
15a4da3
The thread running nano::wallets::do_wallet_actions may need to obtai…
clemahieu Nov 23, 2021
4e51475
Turns off sub-network connection limiting for IPv4 (#3567)
thsfs Nov 23, 2021
ca6d306
The thread running nano::wallets::do_wallet_actions may need to obtai…
clemahieu Nov 23, 2021
4037605
This is a change to release the election scheduler lock while doing a…
clemahieu Nov 23, 2021
9d4e4d0
This is a change to release the election scheduler lock while doing a…
clemahieu Nov 23, 2021
5db06d4
Revert "This is a change to release the election scheduler lock while…
clemahieu Nov 23, 2021
eecd3dc
Updating develop branch to v24 version number. (#3571)
clemahieu Nov 24, 2021
7eddc04
Unlocking lock in all branch cases otherwise lock.lock () can double-…
clemahieu Dec 1, 2021
60596e0
adding git attributes file
Dec 2, 2021
c7b05f8
Merge branch 'develop' of git://github.com/nanocurrency/nano-node int…
Dec 2, 2021
81c5b9a
resolving pull 32 by merging rep_weights_live.bin and rep_weights_bet…
Dec 2, 2021
411d3e3
removing git attributes as it didn't help with the complex merge.
Dec 2, 2021
59639b3
Set version number to 23.0
renesq Dec 5, 2021
ac2dad6
Add decimal outputs
renesq Dec 6, 2021
14bd4c1
merge later nano commit
renesq Dec 6, 2021
0f4798e
Remove short election expiration time for dev network (#3585)
dsiganos Dec 6, 2021
7ce0d73
Remove short election expiration time for dev network (#3585) (#33)
Dec 7, 2021
aa55c95
Merge branch 'nanocurrency:develop' into V23develop
Dec 7, 2021
6ebef32
reformatting
Dec 7, 2021
10a87d0
adding representatives_decimal_millions to hpp, was in cpp only.
Dec 7, 2021
3cfc72a
removing representatives_decimal
Dec 7, 2021
1310e1a
Initializes receive and completion times to always hold a valid value…
thsfs Dec 7, 2021
0176d6c
Double max_peers_per_ip and max_peers_per_subnet (5 -> 10 and 20 -> 40)
dsiganos Dec 7, 2021
ee25252
Include election.confirmed outcome in Node log (#3582)
jamescoxon Dec 7, 2021
bd531f7
Specifying macos toolchain explicitly to 10.15 rather than tracking l…
clemahieu Dec 7, 2021
b781a5a
Check and track request underflows in bootstrap/realtime message proc…
clemahieu Dec 7, 2021
703699e
Adding detail string for request_underflow. (#3593)
clemahieu Dec 7, 2021
7deee81
Merge branch 'releases/v23' of git://github.com/nanocurrency/nano-nod…
Dec 8, 2021
722c7b2
Merge branch 'nanocurrency-releases/v23' into V23develop
Dec 8, 2021
8ab7170
V23.0RC2 (#3595)
zhyatt Dec 8, 2021
7057482
Update images for README and QT wallet to be new symbol (#3619)
zhyatt Dec 21, 2021
04e7c58
Applies the silent check to incoming messages server-side only (#3623)
thsfs Dec 21, 2021
fb06408
Setting version for release. (#3671)
clemahieu Jan 17, 2022
a7a44f9
Update live rep weights file for V23 (#3670)
zhyatt Jan 17, 2022
834a6d3
Merge branch 'releases/v23' of git://github.com/nanocurrency/nano-nod…
Jan 18, 2022
931d027
Merge branch 'nanocurrency-releases/v23' into V23develop
Jan 18, 2022
86207b8
Adding timestamp import export capabilities on CLI
renesq Jan 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 4 additions & 5 deletions .clang-format.base → .clang-format
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
BasedOnStyle: Webkit
Language: Cpp
Language: Cpp
SpaceBeforeParens: Always
SpaceAfterTemplateKeyword: true
Standard: Cpp11
TabWidth: 4
Standard: Cpp11
TabWidth: 4
IndentWidth: 4
PointerAlignment: Middle
UseTab: ForContinuationAndIndentation
Expand All @@ -15,9 +15,9 @@ AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 0
KeepEmptyLinesAtTheStartOfBlocks: false
IndentCaseLabels: true
Expand All @@ -34,7 +34,6 @@ BraceWrapping:
AfterClass: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
SortIncludes: true
Expand Down
80 changes: 10 additions & 70 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,79 +1,19 @@
<!--

---------------------------------------------------
HAVE A QUESTION? PLEASE JOIN OUR DISCORD SERVER
PLEASE USE PRE-SET ISSUE TEMPLATES
---------------------------------------------------

Only use GitHub issues for reporting problems and submitting proposals.
To help better qualify new issues the preference is for the pre-set templates to be used
instead of this blank issue. Please go back or visit https://github.com/nanocurrency/nano-node/issues/new/choose
and use one of the following templates:

Questions should be asked on our Discord server, https://chat.nano.org,
which has channels for a wide range of topics, such as development and
support.

---------------------------------------------------
BUG BOUNTY REPORT INFORMATION
---------------------------------------------------

In the interest of further improving the security of the network, we have launched the Nano Bug Bounty Program.

WARNING! Don't disclose any information for the Nano bug.

Submit any suspected bugs for bounty consideration to bugs@nano.org.

---------------------------------------------------
NORMAL BUG REPORT INFORMATION
---------------------------------------------------

If you are reporting a new issue, make sure that we do not have any duplicates
already open. You can ensure this by searching the issue list for this
repository. If there is a duplicate, please close your issue and add a comment
to the existing issue instead.

If you suspect your issue is a bug, please edit your issue description to
include the BUG REPORT INFORMATION shown below. If you fail to provide this
information within 7 days, we cannot debug your issue and will close it. We
will, however, reopen it if you later provide the information.

-->

**Description of bug:**

<!--
Does this issue reproduce with the latest release? if you don't use the latest version then please try our latest version.
Request a new node feature
Report a node/protocol issue
Report a security vulnerability

Briefly describe the problem you are having in a few paragraphs.
-->

**Steps to reproduce the issue:**
1.
2.
3.

**Describe the results you received:**


**Describe the results you expected:**


**Additional information you deem important (e.g. issue happens only occasionally):**

**Environment**:

<!--
- OS information
- (Linux) Kernel (e.g. `uname -a`):
- Node version
- (docker node) docker version
-->

**logs**

<!--

Can you please provide the Nano logs for further analysis.

How to find Nano logs:

https://github.com/nanocurrency/nano-node/wiki/Log-files
Questions should be asked on our Discord server, https://chat.nano.org, or Forum, https://forum.nano.org,
which have channels for a wide range of topics, such as development and
support.

-->
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: Report a security vulnerability
url: https://docs.nano.org/node-implementation/contributing/#security-vulnerability-disclosure
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/analyzers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,19 @@ on: [push, pull_request]

jobs:
clang_format:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e
- name: Installing clang-format 10
- name: Installing clang-format 12
env:
DEBIAN_FRONTEND: noninteractive
run: sudo apt-get install clang-format-10
- name: Setting clang-format 10 as the default
env:
DEBIAN_FRONTEND: noninteractive
run: sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-10 1000
- name: Clang Format
run: ci/check-commit-format.sh
run: sudo apt-get install clang-format-12
- name: Check clang-format
run: ci/clang-format-check.sh

cmake_format:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e
Expand All @@ -33,4 +29,4 @@ jobs:
packages: |
cmake-format
- name: Check cmake-format
run: bash ci/check-cmake-format.sh
run: ci/cmake-format-check.sh
8 changes: 4 additions & 4 deletions .github/workflows/beta_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
osx_job:
runs-on: macos-latest
runs-on: macOS-10.15
timeout-minutes: 90
env:
BOOST_ROOT: /tmp/boost
Expand All @@ -41,7 +41,7 @@ jobs:
AWS_DEFAULT_REGION: us-east-2

linux_job:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
timeout-minutes: 90
steps:
- name: tag
Expand All @@ -66,7 +66,7 @@ jobs:
AWS_DEFAULT_REGION: us-east-2

linux_docker_job:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
timeout-minutes: 90
steps:
- name: tag
Expand Down Expand Up @@ -118,4 +118,4 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-2
AWS_DEFAULT_REGION: us-east-2
56 changes: 56 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Coverage Reports

on:
workflow_dispatch:
inputs:
label:
description: "label to append to run"
default: "Scheduled"
required: true
schedule:
- cron: "0 1 * * 0"
jobs:
coverage_test:
name: Coverage Test [TEST_USE_ROCKSDB=${{ matrix.TEST_USE_ROCKSDB }}]
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
env:
LCOV: 1
COMPILER: gcc
BOOST_ROOT: /tmp/boost
runs-on: ubuntu-20.04
strategy:
matrix:
TEST_USE_ROCKSDB: [0, 1]
fail-fast: false
continue-on-error: true
timeout-minutes: 60
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
submodules: "recursive"
- name: Fetch Deps
run: |
sudo apt-get update -qq && sudo apt-get install -yqq build-essential g++ wget python zlib1g-dev qt5-default \
valgrind xorg xvfb xauth xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic ocl-icd-opencl-dev \
git lcov python3-pip
util/build_prep/fetch_boost.sh
wget -O cmake_install.sh https://github.com/Kitware/CMake/releases/download/v3.15.4/cmake-3.15.4-Linux-x86_64.sh
chmod +x cmake_install.sh
sudo ./cmake_install.sh --prefix=/usr --exclude-subdir --skip-license
- name: Build and Test
env:
TEST_USE_ROCKSDB: ${{ matrix.TEST_USE_ROCKSDB }}
run: ./ci/build-travis.sh /usr/lib/x86_64-linux=gnu/cmake/Qt5
- uses: coverallsapp/github-action@8cbef1dea373ebce56de0a14c68d6267baa10b44
with:
github-token: ${{ secrets.github_token }}
flag-name: rocksdb-${{ matrix.TEST_USE_ROCKSDB }},${{ github.event.inputs.label }}
parallel: true
finish:
needs: coverage_test
runs-on: ubuntu-20.04
steps:
- uses: coverallsapp/github-action@8cbef1dea373ebce56de0a14c68d6267baa10b44
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
6 changes: 3 additions & 3 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Develop
on:
push:
branches:
- develop
- develop
jobs:
linux_job:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
Expand All @@ -24,4 +24,4 @@ jobs:
- name: Deploy Docker (nanocurrency/nano-env)
run: ci/actions/linux/deploy-docker.sh
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
8 changes: 4 additions & 4 deletions .github/workflows/live_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
osx_job:
runs-on: macos-latest
runs-on: macOS-10.15
timeout-minutes: 90
env:
BOOST_ROOT: /tmp/boost
Expand All @@ -40,7 +40,7 @@ jobs:
AWS_DEFAULT_REGION: us-east-2

linux_job:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
timeout-minutes: 90
steps:
- name: tag
Expand All @@ -65,7 +65,7 @@ jobs:
AWS_DEFAULT_REGION: us-east-2

linux_docker_job:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
timeout-minutes: 90
steps:
- name: tag
Expand Down Expand Up @@ -117,4 +117,4 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-2
AWS_DEFAULT_REGION: us-east-2
62 changes: 0 additions & 62 deletions .github/workflows/release_tests.yml

This file was deleted.

Loading