Russell Yanofsky
90fc8b089d
Add src/node/* code to node:: namespace
2022-01-06 22:14:16 -05:00
MarcoFalke
fa0074e2d8
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
2020-12-31 09:45:41 +01:00
Ivan Metlushko
a316e9ce26
refactor: add unused ArgsManager to replace gArgs
2020-07-29 16:36:44 +07:00
MarcoFalke
aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
2019-12-30 10:42:20 +13:00
Russell Yanofsky
301bd41a2e
scripted-diff: Rename InitInterfaces to NodeContext
...
-BEGIN VERIFY SCRIPT-
s() { git grep -l "$1" src | xargs sed -i "s/$1/$2/g"; }
s 'struct InitInterfaces' 'struct NodeContext'
s 'InitInterfaces interfaces' 'NodeContext node'
s 'InitInterfaces& interfaces' 'NodeContext\& node'
s 'InitInterfaces m_interfaces' 'NodeContext m_context'
s 'InitInterfaces\* g_rpc_interfaces' 'NodeContext* g_rpc_node'
s 'g_rpc_interfaces = &interfaces' 'g_rpc_node = \&node'
s 'g_rpc_interfaces' 'g_rpc_node'
s 'm_interfaces' 'm_context'
s 'interfaces\.chain' 'node.chain'
s '\(AppInitMain\|Shutdown\|Construct\)(interfaces)' '\1(node)'
s 'init interfaces' 'chain clients'
-END VERIFY SCRIPT-
2019-10-28 10:30:51 -04:00
Hennadii Stepanov
4be3b7680e
refactor: Cleanup walletinitinterface.h
...
Forward declarations of CScheduler and CRPCTable classes are no longer
needed after ea961c3d72
commit.
Including <string> is no longer needed after
4d4185a4f0
commit.
2019-09-08 17:29:30 +03:00
Russell Yanofsky
ea961c3d72
Remove direct node->wallet calls in init.cpp
...
Route calls during node initialization and shutdown that would happen between a
node process and wallet processes through the serializable `Chain::Client`
interface, rather than `WalletInitInterface` which is now simpler and only
deals with early initialization and parameter interaction.
This commit mostly does not change behavior. The only change is that the
"Wallet disabled!" and "No wallet support compiled in!" messages are now logged
earlier during startup.
2018-11-06 11:44:40 -04:00
Russell Yanofsky
8db11dd0b1
Pass chain and client variables where needed
...
This commit does not change behavior. All it does is pass new function
parameters.
It is easiest to review this change with:
git log -p -n1 -U0 --word-diff-regex=.
2018-11-06 11:44:40 -04:00
John Newbery
7d038dcb41
[build] remove ENABLE_WALLET ifdef from httprpc.cpp
2018-09-10 14:27:32 -04:00
DrahtBot
eb7daf4d60
Update copyright headers to 2018
2018-07-27 07:15:02 -04:00
Andrew Chow
4d4185a4f0
Make gArgs aware of the arguments
...
gArgs knows what the available arguments are and their help. Getting
the help message is moved to gArgs and HelpMessage() is removed
2018-05-09 12:21:05 -04:00
João Barbosa
1936125671
wallet: Make WalletInitInterface members const
2018-04-13 14:02:59 +01:00
João Barbosa
39bc2faa2e
wallet: Make WalletInitInterface and DummyWalletInit private
2018-04-05 21:09:21 +01:00
Chun Kuan Lee
177b875adc
Avoid travis lint-include-guards error
2018-04-02 16:42:21 +08:00
John Newbery
c7ec524389
[wallet] Add dummy wallet init class
2018-03-27 15:35:54 -04:00
John Newbery
caaf9722f3
[wallet] Create wallet init interface.
2018-03-26 13:23:24 -04:00