107 Commits

Author SHA1 Message Date
Jason Frame
c05b0999ee qbft message RLP reference tests (#1860)
Signed-off-by: Jason Frame jasonwframe@gmail.com
2021-02-12 13:19:24 +10:00
Danno Ferrin
2d83e13bb8 Genesis config cleanup (#1812)
* Finish internal ConstantinopleFix->Petersburg transition, including
  class names. Only backwards compatibility and retesteth use of the
  name will remain.
* Remove four unused config fields from json configs.  These are fields
  with no code uses of any sort. All are implied by other fields.
  eip150Hash, eip155Block, eip160Block, and daoForkSupport.
* Remove redundant fork block fields where their value is implied

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2021-01-19 10:16:45 -05:00
Danno Ferrin
99dcf50ee5 Reduce Spurious Log Messages (#1678)
Adding the Log4j "jul" (java.util.logging) adapter resulted in many
messages like this at startup:
`main INFO Registered Log4j as the java.util.logging.LogManager.`
These come from the Log4j status logger.  We can get rid of those by
setting the status attribute on all configurations to a higher logging
level.  WARN is the next higher level.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2020-12-09 23:39:53 -07:00
mark-terry
55f0d92f1d Refactored OrionTestHarness to use in memory storage. (#1676)
Signed-off-by: Mark Terry <mark.terry@consensys.net>

Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2020-12-10 08:03:51 +10:00
Antoine Toulme
b9364ed243 Upgrade to Apache Tuweni 1.2.0 (#1493)
* Upgrade to Apache Tuweni 1.2.0

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* no jsr305

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>

Co-authored-by: Danno Ferrin <danno.ferrin@gmail.com>
2020-11-05 15:40:42 -08:00
Stefan Pingel
8f80612374 Add ATs for on chain privacy with multi tenancy (#1422)
* add ATs for on-chain privacy with multi-tenancy

Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
2020-10-08 13:24:20 +10:00
Lucas Saldanha
c5025d86eb Add strict check for privateFrom in private txs (#976)
* Add strict check for privateFrom in private txs

Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
2020-07-08 18:29:47 +12:00
Danno Ferrin
1961b5d143 Flatten EVM Loop (#1192)
Our current EVM loop splits out cost, execution and halt evaluation. Flattening these three into one method results in a significant speedup in reference tests, which are EVM heavy.

Mostly the cost, exceptionalHaltCondition, and execute are merged into one method, sharing calculations between the three.

In fixed cost operations the merger is very simple AddOperation is a representative fixed cost operation.

Check the gas, check other exceptional halts, do the work, return the result.

In variable cost operations there is some value reads to be done before the cost is calculated. This is where a lot of the de-duplication occurs. CodeCopyOperation is a representative variable cost operation.

JumpIOperation shows where this merger pays off. If the condition is zero then some exceptional halts don't need to be considered. But with the three way split each step couldn't consider such optimizations because the local data was lost between each call.

Some cleanup was enabled by this. The old exceptional halt predicates were deleted and moved into each operation. Gas costs must be checked by the operation instead of globally, or we would lose state if we had to split into two methods and do the gas check shared.

The OperandStack was flattened into a single class instead of an interface plus a single implementation. stack underflow and overflow are signaled via named exceptions and handled via catches instead of pre-checking the stack height. Since overflow/underflow is exceedingly rare in mainnet transactions java exceptions are the more performant means.

Some of the APIs had lingering impacts on how some tests were run and the EVMTool (we cache operation cost in the message frame now.)

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2020-07-07 19:17:50 -06:00
Ratan Rai Sur
43eccbbb67 [Pruning Bugfix] Prevent race condition in key deletion. (#760)
* add doomed key check (busy-waiting for now)

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* optional and logging

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* remove logging

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* sleeping and hardening

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* rename segments

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* move away from atomic references to regular vars

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* remove hardened segment parameter

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* increase sleep

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* spotless

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* remove unnecessary interface

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* rename

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* move commit waiting outside of timer

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* set default lock timeout to 1ms

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* add default lock timeout to tests

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* Revert "rename segments"

This reverts commit 184eefaaa0ccc857b0caff2b382f8338ff225d5d.

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* fix jmh compilation error

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* add documentation

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* bump up sleep to 1ms

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* (POC) Add lock to ensure that we don't prune while comitting

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* remove unnecessary persist (#569)

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* flesh out @mbaxter's idea and remove my code

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* iterator changes

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* hybridize with doomed key

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* comment

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* move doomed key unset to after node added listener

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* update instead of getting and setting doomedKeyRef in commit

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* comment

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* invert condition

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* remove locks

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* remove `removeAllKeysUnless`

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* more remove removeAllKeysUnless

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* reuse streamKeys

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* remove test

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* set default lock timeout to 1ms

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* add default lock timeout to tests

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* fix jmh compilation error

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* revert back to locks instead of doomedkey

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* change delete to not guarantee deletion

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* plugin hash

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* javadoc

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* Revert "change delete to not guarantee deletion"

This reverts commit 2289bb34cfe73bb34990db3b5ef3d614222b8c5b.

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* skip key deletion on timeout

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* clear in rollback

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* Revert "fix jmh compilation error"

This reverts commit b64ecf86568789583966e534685258d484987deb.

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* Revert "add default lock timeout to tests"

This reverts commit aff6aa6065a02bbc7eaa313d58034de48dd1d9ce.

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* Revert "set default lock timeout to 1ms"

This reverts commit 267fe0a642bf9cca89d53e09830454b7137324e6.

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* use noSlowDown write option instead of global timeout

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* add back tests

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* close tryDeleteOptions

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* remove unnecessary lock

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* move increment inside try

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* use StorageException subclass instead of field

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* revert accidental deletion in javadoc

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* tryDelete javadoc

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* add trace for skipping key deletion

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* merge catch and finally try blocks

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* switch from exception to boolean return value

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* tweak

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* changelog changes

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* add api back

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

* add back throws javadoc

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>

Co-authored-by: Meredith Baxter <meredith.baxter@consensys.net>
Co-authored-by: MadelineMurray <43356962+MadelineMurray@users.noreply.github.com>
2020-05-07 08:14:20 +10:00
Danno Ferrin
60c3a5cc18 Add --skip-pow-validation-enabled to block import command (#806)
To support Ethereum Foundation Hive testing an option to ignore the
validity of the mixHash is needed in the block importer command. All
other validation for the blocks is still performed.

Example:
`besu blocks import --skip-pow-validation-enabled --from=<block-file>`

Fixes #803

Signed-off-by: Danno Ferrin danno.ferrin@gmail.com
2020-04-29 08:57:38 -06:00
Danno Ferrin
838f7aa5e0 Fix Gradle 7.0 compatibility issues and build warnings (#288)
Removes as many Gradle 7.0 compatibility issues as possible
* `baseName` -> `archiveBaseName`
* `extension` -> `archiveExtension`
* `destinationDir` -> `destinationDirectory`
* `runtime` -> `runtimeOnly`
* Change some log4j-api and log4j-core dependencies
* Remove an unneeded and outdated plugin (`net.ltgt.apt`)
* tweak the plugin-api change detector's property annotations.

Warnings still exist with one external plugin used for license file
checking that we do not control the source code for.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2020-01-13 08:28:50 -07:00
Danno Ferrin
dfad8bff78 Update Dependencies (#281)
Update dependencies to most current version
 - except picocli which is a major version update
Alphabetize dependencies

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2020-01-01 20:42:13 +13:00
Antoine Toulme
ccefada736 Move to Apache Tuweni Bytes library (#215)
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2019-12-20 12:05:15 +10:00
pinges
3c1768eef7 Multi-Tenancy: Do not specify a public key anymore when requesting a … (#185)
* Multi-Tenancy: Do not specify a public key anymore when requesting a payload from Orion, so all private keys are tried to decrypt the encrypted payload.

Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
2019-11-14 13:43:00 +10:00
Ivaylo Kirilov
c09145e490 refactor-privacy-storage (#7)
* refactor-privacy-storage

Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
2019-09-30 06:45:03 +10:00
Joshua Fernandes
bac5c673d3 Adding a spdx license check gradle task (#30)
* adding in spdx-license-identifier & updated check for the same; removing license check from spotless

Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>

* Change CheckSpdxHeader to a task.

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-09-20 14:59:57 +10:00
Nicolas MASSART
829d865f3d update Cava library to Tuweni Library (#18)
Cava and Tuweni are the same thing but renamed when moved to Apache foundation

Signed-off-by: Nicolas <nicolas.massart@consensys.net>
2019-09-18 09:53:02 +02:00
Joshua Fernandes
d6a2394e2d Migrating Pantheon to Besu (#1945)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-09-16 11:14:10 +10:00
Ratan Rai Sur
995ef1adba Ban junit assertions (#1939)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-09-13 17:37:51 +03:00
CJ Hare
dec01db6f9 Refactoring Rocksdb as a module (#1889)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-09-12 12:34:57 +10:00
Ivaylo Kirilov
c691f488e2 [PAN-2941] Refactor privacy acceptance tests (#1864)
* update web3j 4.5.0 + use pantheon module in favour of core
* remove custom eea/privacy rpc calls -> use web3j instead
* overhaul the conditions -> web3j does the polling for receipts for us
* re-define a PrivacyNode - it is an object that holds a PantheonNode and an OrionTestHarness
* do not start OrionTestHarness prematurely - calling PrivacyNode.start() will start an Orion node followed by it's accompanying Pantheon node
* stop and close resources properly -> clean-up removes the created temporary directories correctly

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-09-03 18:26:25 +10:00
Ivaylo Kirilov
8747092586 [PAN-2789] Add EthSigner acceptance test (#1892)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-08-29 10:16:16 +10:00
Adrian Sutton
9e6762635e Revert "[PAN-2789] Add ethSigner acceptance test (#1655)" (#1888)
This reverts commit b0238318f171078aa7097d3339988419d56592b5. Causes intermittency because of hard coded port 8545. 
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-08-28 08:02:58 +10:00
Ivaylo Kirilov
0500d18950 [PAN-2789] Add ethSigner acceptance test (#1655)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-08-27 20:18:50 +10:00
mbaxter
15addf6c14 [PIE-1804] Tweak JSON import format (#1878)
Allow comment fields json import files.  Use "secretKey" for consistency with reference tests.

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-08-22 15:29:07 -04:00
mbaxter
45a5b9c781 [PIE-1805] Create stub trace_replayBlockTransactions json-rpc method (#1873)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-08-22 12:49:58 -04:00
mbaxter
50c3a2cba0 [PIE-1791] Fix logic to disconnect from peers on fork (#1863)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-08-19 10:24:08 -04:00
Ratan Rai Sur
b20147c062 [PAN-2819] [PAN-2820] Mark Sweep Pruner
* Mark Sweep Pruner 
* add `unload` method on Node interface, which is a noop everywhere but on `StoredNode`
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-08-07 12:24:02 -04:00
Danno Ferrin
6f52d8bd83 Revert "[PAN-2950] Use java.time.Clock instead of System.currentTimeMillis()" (#1768)
This reverts commit 814b36e4
The needed chantes to get rid of Instant.now (which is also needed to get rid
of the wall clock dependency) are too deep and intrusive into IBFT to try and
speed patch them in that some APIs require re-work, so in the interst of test
stability this gets sheleved until it is all ready.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-07-26 11:53:36 -06:00
Danno Ferrin
ec5dc85403 [PAN-2950] Use java.time.Clock instead of System.currentTimeMillis() (#1747)
To allow us to reset the timestamp in the blockchain for Retesteth support 
we need to pass a Clock to affected APIs and use that instead of the static method
System.currentTimeMillis().  The most consistent way to do this that will ensure
that the API does not sneak back in is to ban the method via ErrorProne.

TestClock.fixed() was altered to return the "now" time of the first time the fixed clock was requested, needed for many header validation tasks validating headers are not from the future.

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-07-24 19:12:05 -06:00
Danno Ferrin
4a3d74a29f [refactor] de-duplicate Test blocks data files (#1737)
Refactor test blocks to be stored once, in one location.


Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-07-23 09:06:29 -06:00
Puneetha Karamsetty
33cd1834a9 [PAN-2891] Change eea_getPrivateTransaction endpoint to accept hex (#1666)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-07-16 21:02:39 +10:00
Ivaylo Kirilov
d2d338b797 [PAN-2825] eea send raw transaction with privacy group id (#1611)
* Add privacy group id to private transaction

* Update enclave send methods to accept privacy group id

* Update eea sendRawTransaction endpoint

* extract privacy group id from private transaction if present
* extract privateFor/privateFrom if privacy group id is not present

* Fix tests

* Change abstract class invocation to concrete class.

* Utility method to load enclave public key

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-07-08 12:45:28 -04:00
Ivaylo Kirilov
e91ba1efea [PAN-2652] Refactor Privacy acceptance test and add Privacy Ibft test (#1483)
* Add IBFT2 Privacy Acceptance test

* Refactor eea conditions

* Refactor privacy test utils

* Refactor privacy tests

* Fix typo

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-05-23 15:01:17 -04:00
S. Matthew English
3d455b38a6 [PAN-1062] Specify pending transaction retention period (2 of 2) (#1333)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-04-30 12:12:13 -04:00
Abdelhamid Bakhta
48c51ac78d [PIE-1531] Allow whitespace in file paths loaded from resources directory (#1329)
* [PIE-1531] Allow whitespace in file paths loaded from resources directory.

* replace Resources.getResource call

* Update LocalPermissioningConfigurationValidatorTest.java

* Update RpcAuthFileValidatorTest.java

* fix paths

* Update SmartContractNodePermissioningAcceptanceTestBase.java

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-04-24 19:15:05 +02:00
Antony Denyer
0ce2d49aa5 [PRIV-41] Refactor PrivacyParameters config to use builder pattern (#1226)
* [PRIV-41] Use metrics system for private state db

- Use PrivacyParametersBuilder to build PrivacyParameters
- refactor PrivacyParameters to expose default options
- refactor test builders to use PrivacyParameters.DEFAULT
- Use URI in Enclave

* Fix: enclave tests from bad merge

* Fix privacy acceptance tests after db configuration changes

* Switch to use nested class for PrivacyParametersBuilder

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-04-09 09:28:29 -06:00
Puneetha Karamsetty
7599f04114 [PRIV-31] Add private cluster acceptance tests (#1211)
* Using privacy group id for contract name
* Add private cluster acceptance tests

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-04-05 11:18:07 +13:00
Adrian Sutton
9a5d8d6fa2 Don't mark world state as stalled until a minimum time without progress is reached (#1179)
Also increases the number of requests without progress before considering the download stalled.

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-04-01 07:56:58 +10:00
Danno Ferrin
fbb731a8fe Errorprone 2.3.3 upgrades (#1110)
Biggest change is that UnusedVariable and UnusedMethod went to WARN by
default. Since our build is a no warning build this means we either need
to turn them off or fix them.  I mostly opted for the latter.  Test code
was mostly fixed, unused loggers were deleted, and other shipped code
was mostly suppressed.

Two less noisy fixes to not use `SortedSet` and to use zero based
comparable results instead of -1, 0, and 1.  Also a compiler nit in
errorprone was suppressed, per the description it won't affect us.

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-03-19 09:17:41 -06:00
Puneetha Karamsetty
8b5c197883 [PRIV] Get Internal logs and output (#1022)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-03-14 09:51:38 +13:00
Rob Dawson
e107513069 Track added at in txpool (#1048)
* Store the instant that a pending transaction is added to the txpool, and expose this out through the api.
* Clock.systemUTC only used once.
* TestClock class added with a factory method for a fixed clock.

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-03-07 19:22:00 +01:00
Ivaylo Kirilov
582454581a [PRIV] Complete Private Transaction Processor (#938)
* Remove entries() in KeyValueStorage

* Implement Private Transaction Processor

* Implement PrivateTransactionReceipt

* Refactor privacy parameter injection

* Disable ether for private transaction

* Implement AcceptanceTest

* Fix PrivateWorldState injection

* Add unimplemented private transaction type

- https://entethalliance.github.io/client-spec/spec.html#sec-extensions-json-rpc

* Change Private Transaction RLP

* Change Private Transaction RLP for acceptanceTest

* Fix copyright year

* Fix build

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-02-26 15:30:11 +13:00
Lucas Saldanha
f3206a7f19 Fix Orion startup ports (#810)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-02-08 10:59:53 +13:00
Danno Ferrin
aaeaa59f31 Upgrade GoogleJavaFormat to 1.7 (#795)
Two changes:
* Stream chains now take up less vertical lines, only breaking on
  stream operations.
* Long annotations that span multiple lines no longer have a dangling
  parentesis and indent 4 spaces.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-02-06 20:50:56 -07:00
Rob Dawson
dfaaec82c8 Updated to use the deployed version of orion. (#727)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-01-31 14:06:27 +10:00
Rob Dawson
b4e59972e9 Updated the way of getting default ports in orion to use new options provided by Orion. (#660)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-01-29 13:58:55 +10:00
Ivaylo Kirilov
14a67e8b82 [PRIV] Prepare private transaction support (#538)
* Add Orion module

* Add integration tests

* Use ephemeral instance of Orion for integration test

- Start orion on random port
- test payloads can be send and received

* update build image

* Use snapshot build of orion

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-01-22 21:15:49 +10:00
Danno Ferrin
0716e6044b Update Client Version to be ethstats friendly (#258)
Update value returned by web3_clientVersion to be ethstats friendly

* Version part starts with a v
* SNAPSHOT builds report 32 bits of the git hash
* OS and architecture are sniffed out and reported
* JVM version and branding are sniffed out and reported

Example values (not all real):
pantheon/v0.9.0-dev-f800a0b1/osx-x86_64/oracle-java-1.8
pantheon/v0.9.0-dev-27960b57/osx-x86_64/zulu-java-11
pantheon/v0.9.0/linux-arm64/openjdk-java-12
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-11-14 08:08:45 -07:00
Chris Mckay
f04b9c5807 [MINOR] removing symlink file that windows doesn't agree with (#146)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-25 12:02:05 +10:00