100 KiB
Changelog
1.1.1
Java 11 Required from v1.2
From v1.2, Pantheon will require Java 11. That is, Pantheon on Java 8 will no longer be supported.
Additions and Improvements
- GraphQL #1311 (thanks to zyfrank)
- Added
--tx-pool-retention-hours
#1333 - Added Genesis file support for specifying the maximum stack size. #1431
- Included transaction details when subscribed to Pending transactions #1410
- Documentation updates include:
Technical Improvements
- Create MaintainedPeers class #1484
- Fix for permissioned network with single bootnode #1479
- Have ThreadPantheonNodeRunner support plugin tests #1477
- Less pointless plugins errors #1473
- Rename GraphQLRPC to just GraphQL #1472
- eth_protocolVersion is a Quantity, not an Integer #1470
- Don't require 'to' in 'blocks' queries #1464
- Events Plugin - Add initial "NewBlock" event message #1463
- Make restriction field in Private Transaction an enum #1462 (thanks to iikirilov)
- Helpful graphql error when an account doesn't exist #1460
- Acceptance Test Cleanup #1458
- Large chain id support for private transactions #1452
- Optimise TransactionPool.addRemoteTransaction #1448
- Reduce synchronization in PendingTransactions #1447
- Add simple PeerPermissions interface #1446
- Make sure ThreadPantheonNodeRunner is exercised by automation #1442
- Decode devp2p packets off the event thread #1439
- Allow config files to specify no bootnodes #1438
- Capture all logs and errors in the Pantheon log output #1437
- Ensure failed Txns are deleted when detected during mining #1436
- Plugin Framework #1435
- Equals cleanup #1434
- Transaction smart contract permissioning controller #1433
- Renamed AccountPermissioningProver to TransactionPermissio… #1432
- Refactorings and additions to add Account based Smart Contract permissioning #1430
- Fix p2p PeerInfo handling #1428
- IbftProcessor logs when a throwable terminates mining #1427
- Renamed AccountWhitelistController #1424
- Unwrap DelegatingBytes32 and prevent Hash from wrapping other Hash instances #1423
- If nonce is invalid, do not delete during mining #1422
- Deleting unused windows jenkinsfile #1421
- Get all our smoke tests for all platforms in 1 jenkins job #1420
- Add pending object to GraphQL queries #1419
- Start listening for p2p connections after start() is invoked #1418
- Improved JSON-RPC responses when EnodeURI parameter has invalid EnodeId #1417
- Use port 0 when starting a websocket server in tests #1416
- Windows jdk smoke tests #1413
- Change AT discard RPC tests to be more reliable by checking discard using proposals #1411
- Simple account permissioning #1409
- Fix clique miner to respect changes to vanity data made via JSON-RPC #1408
- Avoid recomputing the logs bloom filter when reading receipts #1407
- Remove NodePermissioningLocalConfig external references #1406
- Add constantinople fix block for Rinkeby #1404
- Update EnodeURL to support enodes with listening disabled #1403
- Integration Integration test(s) on p2p of 'net_services' #1402
- Reference tests fail on Windows #1401
- Fix non-deterministic test caused by variable size of generated transactions #1399
- Start BlockPropagationManager immediately - don't wait for full sync #1398
- Added error message for RPC method disabled #1396
- Fix intermittency in FullSyncChainDownloaderTest #1394
- Add explanatory comment about default port #1392
- Handle case where peers advertise a listening port of 0 #1391
- Cache extra data #1389
- Update Log message in IBFT Controller #1387
- Remove unnecessary field #1384
- Add getPeer method to PeerConnection #1383
- Removing smart quotes #1381 (thanks to jmcnevin)
- Use streams and avoid iterating child nodes multiple times #1380
- Use execute instead of submit so unhandled exceptions get logged #1379
- Prefer EnodeURL over Endpoint #1378
- Add flat file based task collection #1377
- Consolidate local enode representation #1376
- Rename rocksdDbConfiguration to rocksDbConfiguration #1375
- Remove EthTaskChainDownloader and supporting code #1373
- Handle the pipeline being aborted while finalizing an async operation #1372
- Rename methods that create and return streams away from getX() #1368
- eea_getTransactionCount fails if account has not interacted with private state #1367 (thanks to iikirilov)
- Increase RocksDB settings #1364 (ajsutton)
- Don't abort in-progress master builds when a new commit is added. #1358
- Request open ended headers from sync target #1355
- Enable the pipeline chain downloader by default #1344
- Create P2PNetwork Builder #1343
- Include static nodes in permissioning logic #1339
- JsonRpcError decoding to include message #1336
- Cache current chain head info #1335
- Queue pending requests when all peers are busy #1331
- Fix failed tests on Windows #1332
- Provide error message when invalid key specified in key file #1328
- Allow whitespace in file paths loaded from resources directory #1329
- Allow whitespace in path #1327
- Require block numbers for debug_traceBlockByNumber to be in hex #1326
- Improve logging of chain download errors in the pipeline chain downloader #1325
- Ensure eth scheduler is stopped in tests #1324
- Normalize account permissioning addresses in whitelist #1321
- Allow private contract invocations in multiple privacy groups #1318 (thanks to iikirilov)
- Fix account permissioning check case matching #1315
- Use header validation mode for ommers #1313
- Configure RocksDb max background compaction and thread count #1312
- Missing p2p info when queried live #1310
- Tx limit size send peers follow up #1308
- Remove remnants of the old dev mode #1307
- Remove duplicate init code from PantheonController instances #1305
- Stop synchronizer prior to stopping the network #1302
- Evict old transactions #1299
- Send local transactions to new peers #1253
1.1
Additions and Improvements
- Privacy
- Onchain Permissioning
- Fastsync
- Documentation updates include:
Technical Improvements
- eea_getTransactionCount fails if account has not interacted with private state #1369
- Updating Orion to 0.9.0 #1360
- Allow use of large chain IDs #1357
- Allow private contract invocations in multiple privacy groups #1340
- Missing p2p info when queried live #1338
- Fix expose transaction statistics #1337
- Normalize account permissioning addresses in whitelist #1321
- Update Enclave executePost method #1319
- Fix account permissioning check case matching #1315
- Removing 'all' from the help wording for host-whitelist #1304
1.1 RC
Technical Improvements
- Better errors for when permissioning contract is set up wrong #1296
- Consolidate p2p node info methods #1288
- Update permissioning smart contract interface to match updated EEA proposal #1287
- Switch to new sync target if it exceeds the td threshold #1286
- Fix running ATs with in-process node runner #1285
- Simplify enode construction #1283
- Cleanup PeerConnection interface #1282
- Undo changes to PendingTransactions method visibility #1281
- Use default enclave public key to generate eea_getTransactionReceipt #1280 (thanks to Puneetha17)
- Rollback to rocksdb 5.15.10 #1279
- Log error when a JSON decode problem is encountered #1278
- Create EnodeURL builder #1275
- Keep enode nodeId stored as a BytesValue #1274
- Feature/move subclass in pantheon command #1272
- Expose sync mode option #1270
- Refactor RocksDBStats #1266
- Normalize EnodeURLs #1264
- Build broken in Java 12 #1263
- Make PeerDiscovertAgentTest less flakey #1262
- Ignore extra json rpc params #1261
- Fetch local transactions in isolation #1259
- Update to debug trace transaction #1258
- Use labelled timer to differentiate between rocks db metrics #1254 (thanks to Puneetha17)
- Migrate TransactionPool (& affiliated test) from 'core' to 'eth' #1251
- Use single instance of Rocksdb for privacy #1247 (thanks to Puneetha17)
- Subscribing to sync events should receive false when in sync #1240
- Ignore transactions from the network while behind chain head #1228
- RocksDB Statistics in Metrics #1169
- Add block trace RPC methods #1088 (thanks to kziemianek)
1.0.3
Additions and Improvements
- Notify of dropped messages #1156
- Documentation updates include:
- Added Permissioning Overview
- Added content on Network vs Node Configuration
- Updated RAM requirements
- Added Privacy Overview and Processing Private Transactions
- Renaming of Ethstats Lite Explorer to Ethereum Lite Explorer (thanks to tzapu)
- Added content on using Truffle with Pantheon
- Added
droppedPendingTransactions
RPC Pub/Sub subscription - Added
eea_*
JSON-RPC API methods - Added architecture diagram
- Updated permissioning CLI options and permissioned network tutorial
Technical Improvements
- Choose sync target based on td rather than height #1256
- CLI ewp options #1246
- Update PantheonCommand.java #1245
- Reduce memory usage in import #1239
- Improve eea_sendRawTransaction error messages #1238 (thanks to Puneetha17)
- Single topic filter #1235
- Enable pipeline chain downloader for fast sync #1232
- Make contract size limit configurable #1227
- Refactor PrivacyParameters config to use builder pattern #1226 (thanks to antonydenyer)
- Different request limits for different request types #1224
- Finish off fast sync pipeline download #1222
- Enable fast-sync options on command line #1218
- Replace filtering headers after the fact with calculating number to request up-front #1216
- Support async processing while maintaining output order #1215
- Add Unstable Options to the CLI #1213
- Add private cluster acceptance tests #1211 (thanks to Puneetha17)
- Re-aligned smart contract interface to EEA client spec 477 #1209
- Count the number of items discarded when a pipe is aborted #1208
- Pipeline chain download - fetch and import data #1207
- Permission provider that allows bootnodes if you have no other connections #1206
- Cancel in-progress async operations when the pipeline is aborted #1205
- Pipeline chain download - Checkpoints #1203
- Push development images to public dockerhub #1202
- Push builds of master as docker development images #1200
- Doc CI pipeline for build and tests #1199
- Replace the use of a disconnect listener with EthPeer.isDisconnected #1197
- Prep chain downloader for branch by abstraction #1194
- Maintain the state of MessageFrame in private Tx #1193 (thanks to Puneetha17)
- Persist private world state only if we are mining #1191 (thanks to Puneetha17)
- Remove SyncState from SyncTargetManager #1188
- Acceptance tests base for smart contract node permissioning #1186
- Fix metrics breakages #1185
- Typo #1184 (thanks to araskachoi)
- StaticNodesParserTest to pass on Windows #1183
- Don't mark world state as stalled until a minimum time without progress is reached #1179
- Use header validation policy in DownloadHeaderSequenceTask #1172
- Bond with bootnodes #1160
1.0.2
Additions and Improvements
- Removed DB init when using
public-key
subcommand #1049 - Output enode URL on startup #1137
- Added Remove Peer JSON-RPC #1129
- Added
net_enode
JSON-RPC #1119 (thanks to mbergstrand) - Maintain a
staticnodes.json
#1106 - Added
tx-pool-max-size
command line parameter #1078 - Added PendingTransactions JSON-RPC #1043 (thanks to EdwinLeeGreene)
- Added
admin_nodeInfo
JSON-RPC #1012 - Added
--metrics-category
CLI to only enable select metrics #969 - Documentation updates include:
- Updated endpoints in Private Network Quickstart (thanks to laubai)
- Updated documentation contribution guidelines
- Added
admin_removePeer
- Updated tutorials for printing of enode on startup
- Added
txpool_pantheonTransactions
- Added Transaction Pool content
- Added
tx-pool-max-size
CLI option - Updated developer build instructions to use installDist
- Added Azure quickstart tutorial
- Enabled copy button in code blocks
- Added IBFT 1.0
- Added section on using Geth attach with Pantheon
- Enabled the edit link doc site to ease external doc contributions
- Added EthStats docs (thanks to baxy)
- Updated Postman collection
- Added
metrics-category
CLI option - Added information on block time and timeout settings for IBFT 2.0
- Added
admin_nodeInfo
- Added permissions images
- Added permissioning blog to Resources
- Updated Create Permissioned Network tutorial to use
export-address
- Updated Clique and IBFT 2.0 docs to include complete genesis file
- Updated Clique tutorial to use
export-address
subcommand - Added IBFT 2.0 future message configuration options
Technical Improvements
- Fixed so self persists to the whitelist #1176
- Fixed to add self to permissioning whitelist #1175
- Fixed permissioning issues #1174
- AdminAddPeer returns custom Json RPC error code #1171
- Periodically connect to peers from table #1170
- Improved bootnodes option error message #1092
- Automatically restrict trailing peers while syncing #1167
- Avoid bonding to ourselves #1166
- Fix Push Metrics #1164
- Synchroniser waits for new peer if best is up to date #1161
- Don't attempt to download checkpoint headers if the number of headers is negative #1158
- Capture metrics on Vertx event loop and worker thread queues #1155
- Simplify node permissioning ATs #1153
- Add metrics around discovery process #1152
- Prevent connecting to self #1150
- Refactoring permissioning ATs #1148
- Added two extra Ropsten bootnodes #1147
- Fixed TCP port handling #1144
- Better error on bad header #1143
- Refresh peer table while we have fewer than maxPeers connected #1142
- Refactor jsonrpc consumption of local node permissioning controller #1140
- Disconnect peers before the pivot block while fast syncing #1139
- Reduce the default transaction pool size from 30,000 to 4096 #1136
- Fail at load if static nodes not whitelisted #1135
- Fix private transaction acceptance test #1134 (thanks to Puneetha17)
- Quieter exceptions when network is unreachable #1133
- nodepermissioningcontroller used for devp2p connection filtering #1132
- Remove duplicates from apis specified via CLI #1131
- Synchronizer returns false if it is in sync #1130
- Added fromHexStringStrict to check for exactly 20 byte addresses #1128
- Fix deadlock scenario in AsyncOperationProcessor and re-enable WorldStateDownloaderTest #1126
- Ignore WorldStateDownloaderTest #1125
- Updated local config permissioning flags #1118
- Pipeline Improvements #1117
- Permissioning cli smart contract #1116
- Adding default pending transactions value in PantheonControllerBuilder #1114
- Fix intermittency in WorldStateDownloaderTest #1113
- Reduce number of seen blocks and transactions Pantheon tracks #1112
- Timeout long test #1111
- Errorprone 2.3.3 upgrades #1110
- Add metric to capture memory used by RocksDB table readers #1108
- Don't allow creation of multiple gauges with the same name #1107
- Update Peer Discovery to use NodePermissioningController #1105
- Move starting world state download process inside WorldDownloadState #1104
- Enable private Tx capability to Clique #1102 (thanks to Puneetha17)
- Enable private Tx capability to IBFT #1101 (thanks to Puneetha17)
- Version Upgrades #1100
- Don't delete completed tasks from RocksDbTaskQueue #1099
- Support flat mapping with multiple threads #1098
- Add pipe stage name to thread while executing #1097
- Use pipeline for world state download #1096
- TXPool JSON RPC tweaks #1095
- Add in-memory cache over world state download queue #1087
- Trim default metrics #1086
- Improve imported block log line #1085
- Smart contract permission controller #1083
- Add timeout when waiting for JSON-RPC, WebSocket RPC and Metrics services to stop #1082
- Add pipeline framework to make parallel processing simpler #1077
- Node permissioning controller #1075
- Smart contract permission controller stub #1074
- Expose a synchronous start method in Runner #1072
- Changes in chain head should trigger new permissioning check for active peers #1071
- Fix exceptions fetching metrics after world state download completes #1066
- Accept transactions in the pool with nonce above account sender nonce #1065
- Repair Istanbul to handle Eth/62 & Eth/63 #1063
- Close Private Storage Provider #1059 (thanks to Puneetha17)
- Add labels to Pipelined tasks metrics #1057
- Re-enable Quorum Synchronisation #1056
- Don't log expected failures as errors #1054
- Make findSuitablePeer abstract #1053
- Track added at in txpool #1048
- Fix ImportBlocksTask to only request from peers that claim to have the blocks #1047
- Don't run the dao block validator if dao block is 0 #1044
- Don't make unnecessary copies of data in RocksDbKeyValueStorage #1040
- Update discovery logic to trust bootnodes only when out of sync #1039
- Fix IndexOutOfBoundsException in DetermineCommonAncestorTask #1038
- Add
rpc_modules
JSON-RPC #1036 - Simple permissioning smart contract #1035
- Refactor enodeurl to use inetaddr #1032
- Update CLI options in mismatched genesis file message #1031
- Remove dependence of eth.core on eth.permissioning #1030
- Make alloc optional and provide nicer error messages when genesis config is invalid #1029
- Handle metrics request closing before response is generated #1028
- Change EthNetworkConfig bootnodes to always be URIs #1027
- Avoid port conflicts in acceptance tests #1025
- Include reference tests in jacoco #1024
- Acceptance test - configurable gas price #1023
- Get Internal logs and output #1022 (thanks to Puneetha17)
- Fix race condition in WebSocketService #1021
- Ensure devp2p ports are written to ports file correctly #1020
- Report the correct tcp port in PING packets when it differs from the UDP port #1019
- Refactor transient transaction processor #1017
- Resume world state download from existing queue #1016
- IBFT Acceptance tests updated with longer timeout on first block #1015
- Update IBFT acceptances tests to await first block #1013
- Remove full hashimoto implementation as its never used #1011
- Created SyncStatus notifications #1010
- Address acceptance test intermittency #1008
- Consider a world state download stalled after 100 requests with no progress #1007
- Reduce log level when block miner is interrupted #1006
- RunnerTest fail on Windows due to network startup timing issue #1005
- Generate Private Contract Address #1004 (thanks to vinistevam)
- Delete the legacy pipelined import code #1003
- Fix race condition in WebSocket AT #1002
- Cleanup IBFT logging levels #995
- Integration Test implementation dependency for non-IntelliJ IDE #992
- Ignore fast sync and full sync tests to avoid race condition #991
- Make acceptance tests use the process based runner again #990
- RoundChangeCertificateValidator requires unique authors #989
- Make Rinkeby the benchmark chain. #986
- Add metrics to Parallel Download pipeline #985
- Change ExpectBlockNumber to require at least the specified block number #981
- Fix benchmark compilation #980
- RPC tests can use 127.0.0.1 loopback rather than localhost #974 (fixes #956#956 thanks to glethuillier for raising)
- Disable picocli ansi when testing #973
- Add a jmh benchmark for WorldStateDownloader #972
- Gradle dependency for JMH annotation, for IDEs that aren't IntelliJ (… #971
- Separate download state tracking from WorldStateDownloader #967
- Gradle dependency for JMH annotation, for IDEs that aren't IntelliJ #966
- Truffle HDwallet Web3 1.0 #964
- Add missing JavaDoc tags in JSONToRLP #963
- Only import block if it isn't already on the block chain #962
- CLI stack traces when debugging #960
- Create peer discovery packets on a worker thread #955
- Remove start functionality from IbftController and IbftBlockHeightMan… #952
- Cleanup IBFT executors #951
- Single threaded world state persistence #950
- Fix version number on master #946
- Change automatic benchmark #945
- Eliminate redundant header validation #943
- RocksDbQueue Threading Tweaks #940
- Validate DAO block #939
- Complete Private Transaction Processor #938 (thanks to iikirilov)
- Add metrics for netty queue length #932
- Update GetNodeDataFromPeerTask to return a map #931
1.0.1
Public key address export subcommand was missing in 1.0 release.
Additions and Improvements
- Added
public-key export-address
subcommand #888 - Documentation update for the
public-key export-address
subcommand. - Updated IBFT 2.0 overview to include use of
rlp encode
command and information on setting IBFT 2.0 properties to achieve your desired block time.
1.0
Additions and Improvements
- IBFT 2.0
- Permissioning
- JSON-RPC Authentication
- Added
rlp encode
subcommand #965 - Method to reload permissions file #834
- Added rebind mitigation for Websockets. #905
- Support genesis contract code #749 (thanks to kziemianek). Fixes issue #662.
- Documentation updates include:
- Added details on port configuration
- Added Resources page linking to Pantheon blog posts and webinars
- Added JSON-RPC Authentication
- Added tutorial to create permissioned network
- Added Permissioning content
- Added Permissioning API methods
- Added tutorial to create Clique private network
- Added tutorial to create IBFT 2.0 private network
Technical Improvements
- RoundChangeCertificateValidator requires unique authors #997
- RPC tests can use 127.0.0.1 loopback rather than localhost #979
- Integration Test implementation dependency for non-IntelliJ IDE #978
- Only import block if it isn't already on the block chain #977
- Disable picocli ansi when testing #975
- Create peer discovery packets on a worker thread #961
- Removed Orion snapshot dependency #933
- Use network ID instead of chain ID in MainnetPantheonController. #929
- Propagate new block messages to other clients in a worker thread #928
- Parallel downloader should stop on puts if requested. #927
- Permission config file location and option under docker #925
- Fixed potential stall in world state download #922
- Refactoring to introduce deleteOnExit() for temp files #920
- Reduce "Received transactions message" log from debug to trace #919
- Handle PeerNotConnected exceptions when sending wire keep alives #918
- admin_addpeers: error if node not whitelisted #917
- Expose the Ibft MiningCoordinator #916
- Check perm api against perm cli #915
- Update metrics when completing a world state request with existing data #914
- Improve RocksDBQueue dequeue performance #913
- Error when removing bootnodes from nodes whitelist #912
- Incremental Optimization(s) on BlockBroadcaster #911
- Check permissions CLI dependencies #909
- Limit the number of times we retry peer discovery interactions #908
- IBFT to use VoteTallyCache #907
- Add metric to expose number of inflight world state requests #906
- Bootnodes not on whitelist - improve errors #904
- Make chain download cancellable #901
- Enforce accounts must start with 0x #900
- When picking fast sync pivot block, use the peer with the best total difficulty #899
- Process world state download data on a worker thread #898
- CLI mixin help #895 (macfarla)
- Use absolute datapath instead of relative. #894. Fixes issue #854.
- Fix task queue so that the updated failure count for requests is stored #893
- Fix authentication header #891
- Reorganize eth tasks #890
- Unit tests of BlockBroadcaster #887
- Fix authentication file validation errors #886
- Fixing file locations under docker #885
- Handle exceptions properly in EthScheduler #884
- More bootnodes for goerli #880
- Rename password hash command #879
- Add metrics for EthScheduler executors #878
- Disconnect peer removed from node whitelist #877
- Reduce logging noise from invalid peer discovery packets and handshaking #876
- Detect stalled world state downloads #875
- Limit size of Ibft future message buffer #873
- Ibft2: Replace NewRound with extended Proposal #872
- Fixed admin_addPeer to periodically check maintained connections #871
- WebSocket method permissions #870
- Select new pivot block when world state becomes unavailable #869
- Introduce FutureUtils to reduce duplicated code around CompletableFuture #868
- Implement world state cancel #867
- Renaming authentication configuration file CLI command #865
- Break out RoundChangeCertificate validation #864
- Disconnect peers where the common ancestor is before our fast sync pivot #862
- Initial scaffolding for block propagation #860
- Fix NullPointerException when determining fast sync pivot #859
- Check for invalid token #856
- Moving NodeWhitelistController to permissioning package #855
- Fix state download race condition by creating a TaskQueue API #853
- Changed separator in JSON RPC permissions #852
- WebSocket acceptance tests now can use WebSockets #851
- IBFT notifies EthPeer when remote node has a better block #849
- Support resuming fast-sync downloads #848
- Tweak Fast Sync Config #847
- RPC authentication configuration validation + tests. #846
- Tidy-up FastSyncState persistence #845
- Do parallel extract signatures in the parallel block importer. #844
- Fix 'the Input Is Too Long' Error on Windows #843 (thanks to glethuillier). Fixes issue #839.
- Remove unnecessary sleep #842
- Shutdown improvements #841
- Speed up shutdown time #838
- Add metrics to world state downloader #837
- Store pivot block header #836
- Clique should use beneficiary of zero on epoch blocks #833
- Clique should ignore proposals for address 0 #831
- Fix intermittency in FullSyncDownloaderTest #830
- Added the authentication service to the WebSocket service #829
- Extract creation and init of ProtocolContext into a re-usable class #828
- Prevent duplicate commit seals in ibft header #827
- Validate Ibft vanity data length #826
- Refactored json rpc authentication to be provided as a service #825
- Handle unavailable world states #824
- Password in JWT payload #823
- Homogenize error messages when required parameters are set #822 (glethuillier). Fixes issue #821.
- Set remote peer chain head to parent of block received in NEW_BLOCK_MESSAGE #819
- Peer disconnects should not result in stack traces #818
- Abort previous builds #817
- Parallel build stages #816
- JWT authentication for JSON-RPC #815
- Log errors that occur while finding a common ancestor #814
- Shuffled log levels #813
- Prevent duplicate IBFT messages being processed by state machine #811
- Fix Orion startup ports #810
- Commit world state continuously #809
- Improve block propagation time #808
- JSON-RPC authentication cli options & acceptance tests #807
- Remove privacy not supported warning #806 (thanks to vinistevam)
- Wire up Private Transaction Processor #805 (thanks to Puneetha17)
- Apply a limit to the number of responses in RespondingEthPeer.respondWhile #803
- Avoid requesting empty block bodies from the network. #802
- Handle partial responses to get receipts requests #801
- Rename functions in Ibft MessageValidator #800
- Upgrade GoogleJavaFormat to 1.7 #795
- Minor refactorings of IntegrationTest infrastructure #786
- Rework Ibft MessageValidatorFactory #785
- Rework IbftRoundFactory #784
- Rename artefacts to artifacts within IBFT #782
- Rename TerminatedRoundArtefacts to PreparedRoundArtefacts #781
- Rename Ibft MessageFactory methods #779
- Update WorldStateDownloader to only filter out known code requests #777
- Multiple name options only search for the longest one #776
- Move ethTaskTimer to abstract root #775
- Parallel Block importer #774
- Wait for a peer with an estimated chain height before selecting a pivot block #772
- Randomly perform full validation when fast syncing blocks #770
- IBFT Message rework, piggybacking blocks on msgs. #769
- EthScheduler additions #767
- Fixing node whitelist isPermitted check #766
- Eth/63 labels #764
- Permissioning whitelist persistence. #763
- Created message validators for NewRound and RoundChange #760
- Add tests for FastSyncChainDownloader as a whole #758
- Flatten IBFT Message API #757
- Added TerminatedRoundArtefacts #756
- Fix thread names in EthScheduler to include the thread number #755
- Separate round change reception from RoundChangeCertificate #754
- JSON-RPC authentication login #753
- Spilt Ibft MessageValidator into components #752
- Ensure first checkpoint headers is always in local blockchain for FastSyncCheckpointHeaderManager #750
- Refactored permissioning components to be Optional. #747
- Integrate rocksdb-based queue into WorldStateDownloader #746
- Generify orion to enclave #745 (thanks to vinistevam)
- Moved IBFT Message factory to use wrapped message types #744
- Handle timeouts when requesting checkpoint headers correctly #743
- Update RoundChangeManager to use flattened message #742
- Handle validation failures when fast importing blocks #741
- Updated IbftRound and RoundState APIs to use wrapped messages #740
- Exception handling #739
- Upgrade dependency versions and build cleanup #738
- Update IbftBlockHeigntManager to accept new message types. #737
- Error response handling for permissions APIs #736
- IPV6 bootnodes don't work #735
- Updated to use tags of pantheon build rather than another repo #734
- Log milestones at startup and other minor logging improvements #733
- Create wrapper types for Ibft Signed messages #731
- Ibft to uniquely ID messages by their hash #730
- Rename ibftrevised to ibft2 #722
- Limit ibft msg queues #704
- Implement privacy precompiled contract #696 (thanks to Puneetha17)
- Integration of RecursivePeerRefreshState and PeerDiscoveryController #420
0.9.1
Built and compatible with with JDK8.
0.9
Breaking Changes to Command Line
Breaking changes have been made to the command line options in v0.9 to improve usability. Many v0.8 command line options no longer work.
The documentation has been updated throughout to use the changed command line options and the command line reference documents the changed options.
Previous Option | New Option | Change |
---|---|---|
--config |
--config-file |
Renamed |
--datadir |
--data-path |
Renamed |
--dev-mode |
--network=dev |
Replaced by --network option |
--genesis |
--genesis-file |
Renamed |
--goerli |
--network=goerli |
Replaced by --network option |
--metrics-listen=<HOST:PORT> |
--metrics-host=<HOST> and --metrics-port=<PORT> |
Split into host and port options |
--miner-extraData |
--miner-extra-data |
Renamed |
--miner-minTransactionGasPriceWei |
--min-gas-price |
Renamed |
--no-discovery |
--discovery-enabled |
Replaced |
--node-private-key |
--node-private-key-file |
Renamed |
--ottoman |
N/A | Removed |
--p2p-listen=<HOST:PORT> |
--p2p-host=<HOST> and --p2p-port=<PORT> |
Split into host and port options |
--rinkeby |
--network=rinkeby |
Replaced by --network option |
--ropsten |
--network=ropsten |
Replaced by --network option |
--rpc-enabled |
--rpc-http-enabled |
Renamed |
--rpc-listen=<HOST:PORT> |
--rpc-http-host=<HOST> and --rpc-http-port=<PORT> |
Split into host and port options |
--rpc-api |
--rpc-http-api |
Renamed |
--rpc-cors-origins |
--rpc-http-cors-origins |
Renamed |
--ws-enabled |
--rpc-ws-enabled |
Renamed |
--ws-api |
--rpc-ws-api |
Renamed |
--ws-listen=<HOST:PORT> |
--rpc-ws-host=<HOST> and --rpc-ws-port=<PORT> |
Split into host and port options |
--ws-refresh-delay |
--rpc-ws-refresh-delay |
Renamed |
Previous Subcommand | New Subcommand | Change |
---|---|---|
pantheon import <block-file> |
pantheon blocks import --from=<block-file> |
Renamed |
pantheon export-pub-key <key-file> |
pantheon public-key export --to=<key-file> |
Renamed |
Private Network Quickstart
The Private Network Quickstart has been moved from the pantheon
repository to the pantheon-quickstart
repository. The Private Network Quickstart tutorial
has been updated to use the moved quickstart.
Additions and Improvements
--network=goerli
supports relaunch of Görli testnet #717- TOML authentication provider #689
- Metrics Push Gateway Options #678
- Additional logging details for IBFT 2.0 #650
- Permissioning config TOML file #643
- Added metrics Prometheus Push Gateway Support #638
- Clique and IBFT not enabled by default in RPC APIs #635
- Added
admin_addPeer
JSON-RPC API method #622 - Implemented
--p2p-enabled
configuration item #619 - Command options and commands renaming #618
- Added IBFT get pending votes #603
- Implement Petersburg hardfork #601
- Added private transaction abstraction #592 (thanks to iikirilov)
- Added privacy command line commands #584 (thanks to Puneetha17)
- Documentation updates include:
- Updated Private Network Quickstart tutorial
to use quickstart in
pantheon-quickstart
repository and indicate that the quickstart is not supported on Windows. - Added IBFT 2.0 content and JSON RPC API methods.
- Added consensus protocols content.
- Added content on events and logs, and using filters.
- Added content on integrating with Prometheus Push Gateway
- Updated Private Network Quickstart tutorial
to use quickstart in
Technical Improvements
- Download receipts during fast sync and import without processing transactions #701
- Removed CLI options for
--nodes-whitelist
and--accounts-whitelist
#694 - Delegate
getRootCause
through to Guava's implementation #692 - Benchmark update #691
- Implement chain download for fast sync #690
- Allow missing accounts to create zero-cost transactions #685
- Node private key location should be fixed under docker #684
- Parallel Processing File Import Performance #683
- Integrate actual
WorldStateDownloader
with the fast sync work flow #682 - Removed
--max-trailing-peers
option #680 - Enabled warning on CLI dependent options #679
- Update WorldStateDownloader run() interface to accept header #677
- Fixed Difficulty calculator #663
discovery-enabled
option refactoring #661- Update orion default port approach #660
- Extract out generic parts of Downloader #659
- Start world downloader #658
- Create a simple
WorldStateDownloader
#657 - Added handling for when p2p is disabled #655
- Enabled command line configuration for privacy precompiled contract address #653 (thanks to Puneetha17)
- IBFT transmitted packets are logged by gossiper #652
admin_addPeer
acceptance test #651- Added
p2pEnabled
configuration toProcessPantheonNodeRunner
#649 - Added description to automatic benchmarks #646
- Added
network
option #645 - Remove OrionConfiguration #644 (thanks to Puneetha17)
- IBFT Json Acceptance tests #634
- Upgraded build image to one that contains libsodium #632
- Command line fixes #630
- Consider peer count insufficient until minimum peers for fast sync are connected #629
- Build tweaks #628
- IBFT ensure non-validator does not partake in consensus #627
- Added ability in acceptance tests to set up a node with
--no-discovery
#624 - Gossip integration test #623
- Removed quickstart code and CI pipeline #616
- IBFT Integration Tests - Spurious Behaviour #615
- Refactoring for more readable IBFT IT #614
- Start of fast sync downloader #613
- Split
IbftProcessor
into looping and event processing #612 - IBFT Int Test - changed
TestContextFactory
to a builder #611 - Discard prior round change msgs #610
IbftGetValidatorsByBlockHash
added to json factory #607- IBFT Validator RPCs to return list of strings #606
- Update Benchmark #605
- Remove db package and move classes to more appropriate locations #599
- Added
GetReceiptsFromPeerTask
#598 - Added
GetNodeDataFromPeerTask
#597 - Fixed deprecation warnings #596
- IBFT Integration Tests - Future Height #591
- Added
getNodeData
toEthPeer
to enable requesting node data #589 Blockcreator
to useparentblock
specified at constuction #588- Support responding to
GetNodeData
requests #587 - IBFT validates block on proposal reception #583
- Rework
NewRoundValidator
tests #582 - IBFT split extra data validation rule into components #581
- Allow attached rules to be flagged
light
#580 - Split Block Validation from Importing #579
- Refactor
RoundChangeManager
creation #578 - Add
-SNAPSHOT
postfix to version #577 - IBFT - prevent proposed block being imported twice #576
- Version upgrades #571
- Tests that CLI options are disabled under docker #566
- Renamed IBFT networking classes #555
- Removed dead code from the consensus package #554
- Prepared private transaction support #538 (thanks to iikirilov)
0.8.5
Indefinitely delays the roll-out of Constantinople on Ethereum Mainnet due to a potential security issue detected.
Additions and Improvements
- Remove Constantinople fork block #574
Technical Improvements
- Rename IBFT message packages #568
0.8.4
Docker Image
If you have been running a node using the v0.8.3 Docker image, the node was not saving data to the specified data directory, or referring to the custom configuration file or genesis file.
To recover the node key and data directory from the Docker container:
docker cp <container>:/opt/pantheon/key <destination_file>
docker cp <container>:/opt/pantheon/database <destination_directory>
Where container
is the name or ID of the Docker container containing the Pantheon node.
The container can be running or stopped when you copy the key and data directory. If your node was fully synchronized to MainNet, the data directory will be ~2TB.
When restarting your node with the v0.8.4 Docker image:
- Save the node key in the
key
file in the data directory or specify the location using the--node-private-key
option. - Specify the
<destination_directory
as a volume for the data directory.
Bug Fixes
- Fixing default resource locations inside docker #529
- NewRoundMessageValidator ignores Round Number when comparing blocks #523
- Fix Array Configurable command line options #514
Additions and Improvements
- RocksDB Metrics #531
- Added
ibft_getValidatorsByBlockHash
JSON RPC #519 - Expose metrics to Prometheus #506
- Added
ibft_getValidatorsByBlockNumber
#499 - Added
Roadmap.md
file. #494 - Added JSON RPC
eth hashrate
method. #488 - Account whitelist API #487
- Added nodes whitelist JSON-RPC APIs #476
- Added account whitelisting #460
- Added configurable refresh delay for SyncingSubscriptionService on start up #383
- Added the Command Line Style Guide #530
- Documentation updates include:
- Migrated to new documentation site
- Added configuration file content
- Added tutorial to create private network
- Added content on enabling non-default APIs
Technical Improvements
- Updated
--bootnodes
command option to take zero arguments #548 - IBFT Integration Testing - Local Node is proposer #527
- Remove vertx from discovery tests #539
- IBFT Integration testing - Round Change #537
- NewRoundMessageValidator creates RoundChangeValidator with correct value #518
- Remove time dependency from BlockTimer tests #513
- Gradle 5.1 #512
- Metrics measurement adjustment #511
- Metrics export for import command. #509
- IBFT Integration test framework #502
- IBFT message gossiping #501
- Remove non-transactional mutation from KeyValueStore #500
- Ensured that the blockchain queries class handles optionals better. #486
- IBFT mining acceptance test #483
- Set base directory name to be lowercase in building.md #474 (Thanks to Matthalp)
- Moved admin_peers to Admin API group #473
- Nodes whitelist acceptance test #472
- Rework RoundChangeManagerTest to not reuse validators #469
- Ignore node files to support truffle. #467
- IBFT pantheon controller #461
- IBFT Round to update internal state on reception of NewRound Message #451
- Update RoundChangeManager correctly create its message validator #450
- Use seconds for block timer time unit #445
- IBFT controller and future msgs handling #431
- Allow IBFT Round to be created using PreparedCert #429
- Added MessageValidatorFactory #425
- Inround payload #423
- Updated IbftConfig Fields #422
- Repair IbftBlockCreator and add tests #421
- Make Pantheon behave as a submodule #419
- Ibft Height Manager #418
- Ensure bootnodes are a subset of node whitelist #414
- IBFT Consensus Round Classes #405
- IBFT message payload tests #404
- Validate enodeurl syntax from command line #403
- Update errorprone #401
- IBFT round change manager #393
- IBFT RoundState #392
- Move Block data generator test helper to test support package #391
- IBFT message tests #367
0.8.3
Breaking Change to JSON RPC-API
From v0.8.3, incoming HTTP requests are only accepted from hostnames specified using the --host-whitelist
command-line option. If not specified, the default value for --host-whitelist
is localhost
.
If using the URL http://127.0.0.1
to make JSON-RPC calls, use --host-whitelist
to specify the hostname 127.0.0.1
or update the hostname to localhost
.
If your application publishes RPC ports, specify the hostnames when starting Pantheon. For example:
pantheon --host-whitelist=example.com
Specify *
or all
for --host-whitelist
to effectively disable host protection and replicate pre-v0.8.3 behavior. This is not recommended for production code.
Bug Fixes
- Repair Clique Proposer Selection #339
- High TX volume swamps block processing #337
- Check if the connectFuture has completed successfully #293
- Switch back to Xerial Snappy Library #284
- ShortHex of 0 should be '0x0', not '0x' #272
- Fix pantheon CLI default values infinite loop #266
Additions and Improvements
- Added
--nodes-whitelist
parameter to CLI and NodeWhitelistController #346 - Discovery wiring for
--node-whitelist
#365 - Plumb in three more metrics #344
ProposerSelection
to support multiple IBFT implementations #307- Configuration to support IBFT original and revised #306
- Added host whitelist for JSON-RPC. Breaking Change #295
- Reduce
Block creation processed cancelled
log message to debug #294 - Implement iterative peer search #268
- Added RLP enc/dec for PrePrepare, Commit and NewRound messages #200
- IBFT block mining #169
- Added
--goerli
CLI option #370 (Thanks to @Nashatyrev) - Begin capturing metrics to better understand Pantheon's behaviour #326
- Documentation updates include:
- Added Coding Conventions #342
- Reorganised Installation documentation and added Chocolatey installation for Windows
- Reorganised JSON-RPC API documentation
- Updated RPC Pub/Sub API documentation
Technical Improvements
- Extracted non-Docker CLI parameters to picoCLI mixin. #323
- IBFT preprepare to validate round matches block #329
- Fix acceptance test #324
- Added the
IbftFinalState
#385 - Constantinople Fork Block #382
- Fix
pantheon.cli.PantheonCommandTest
test on Windows #380 - JDK smoke testing is being configured differently now #374
- Re-enable clique AT #373
- Ignoring acceptance test #372
- Changes to support Gradle 5.0 #371
- Clique: Prevent out of turn blocks interrupt in-turn mining #364
- Time all tasks #361
- Rework
VoteTallyCache
to better represent purpose #360 - Add an
UNKNOWN
DisconnectReason
#359 - New round validation #353
- Update get validators for block hash test to start from block 1 #352
- Idiomatic Builder Pattern #345
- Revert
Repair Clique Proposer Selection
#339 - Breaks Görli testnet #343 - No fixed ports in tests #340
- Update clique acceptance test genesis file to use correct clique property names #338
- Supporting list of addresses in logs subscription #336
- Render handler exception to
System.err
instead of.out
#334 - Renamed IBFT message classes #333
- Add additional RLP tests #332
- Downgrading spotless to 3.13.0 to fix threading issues #325
eth_getTransactionReceipt
acceptance test #322- Upgrade vertx to 3.5.4 #316
- Round change validation #315
- Basic IBFT message validators #314
- Minor repairs to clique block scheduling #308
- Dependencies Version upgrade #303
- Build multiple JVM #301
- Smart contract acceptance test #296
- Fixing WebSocket error response #292
- Reword error messages following exceptions during mining #291
- Clique acceptance tests #290
- Delegate creation of additional JSON-RPC methods to the PantheonController #289
- Remove unnecessary
RlpInput
andRlpOutput
classes #287 - Remove
RlpUtils
#285 - Enabling previously ignored acceptance tests #282
- IPv6 peers #281
- IPv6 Bootnode #280
- Acceptance test for
getTransactionReceipt
JSON-RPC method #278 - Inject
StorageProvider
intoPantheonController
instances #259
0.8.2
Removed
- Removed
import-blockchain
command because nothing exports to the required format yet (PR #223)
Bug Fixes
io.netty.util.internal.OutOfDirectMemoryError
errors by removing reference counting from network messages.- Log spam: endless loop in
nioEventLoopGroup
(#248 thanks to @5chdn for reporting) (PR #261) - Rinkeby import can stall with too many fragments (#228 thanks to @steffenkux and @5chdn for reporting) (PR #255)
- Clique incorrectly used the chain ID instead of the network ID in ETH status messages (PR #209)
- Gradle deprecation warnings (PR #246 with thanks to @jvirtanen)
- Consensus issue on Ropsten:
- File name too long error while building from source (#215 thanks to @5chdn for reporting) (PR #221)
- Loop syntax in
runPantheonPrivateNetwork.sh
(PR #237 thanks to @matt9ucci) - Fix
CompressionException: Snappy decompression failed
errors (#251 thanks to @5chdn for reporting) (PR #274)
Additions and Improvements
- Added
--ropsten
command line argument to make syncing to Ropsten easier (#186) (PR #197 with thanks to @jvirtanen) - Enabled constantinople in
--dev-mode
(PR #256) - Supported Constantinople with Clique (#245 thanks to @5chdn for reporting) (PR #250, PR #247)
- Implemented
eth_chainId
JSON-RPC method (#206) (PR #219) - Updated client version to be ethstats friendly (PR #258)
- Added
--node-private-key
option to allow nodekey file to be specified separately to data directory (#233 thanks to @peterbroadhurst for requesting) (PR #234) - Added
--banned-nodeids
option to prevent connection to specific nodes (PR #254) - Send client quitting disconnect message to peers on shutdown (#184) (PR #253)
- Improved error message for port conflict error (PR #232)
- Improved documentation by adding the following pages:
Technical Improvements
- Upgraded Ethereum reference tests to 6.0 beta 2. (thanks to @jvirtanen for the initial upgrade to beta 1)
- Set Java compiler default encoding to UTF-8 (PR #238 thanks to @matt9ucci)
- Removed duplicate code defining default JSON-RPC APIs (PR #218 thanks to @matt9ucci)
- Improved code for parsing config (PRs #208, #209)
- Use
java.time.Clock
in favour of a custom Clock interface (PR #220) - Improve modularity of storage systems (PR #211, #207)
- Treat JavaDoc warnings as errors (PR #171)
- Add benchmark for
BlockHashOperation
as a template for benchmarking other EVM operations (PR #203) - Added unit tests for
EthBlockNumber
(#189) (PR #195 thanks to @jvirtanen) - Code style improvements (PR #196 thanks to @jvirtanen)
- Added unit tests for
Web3ClientVersion
(#191) (PR #194 with thanks to @jvirtanen) - Removed RLPUtils from
RawBlockIterator
(PR #179) - Replace the JNI based snappy library with a pure-Java version (PR #257)