Commit Graph

1791 Commits

Author SHA1 Message Date
Andras Slemmer
89a5448c39 node, core: Add quickcheck generators for basic types, transactions 2016-09-06 13:54:58 +01:00
Mike Hearn
f3c2bd6748 Minor: split Transactions.kt file into one file per transaction class 2016-09-06 14:21:37 +02:00
Mike Hearn
9d83a9b6d2 Minor: move transaction types out of the contracts package and into a new transactions package 2016-09-06 14:20:32 +02:00
Mike Hearn
cbf6aa0e27 Minor: make TransactionBuilder.signWith return the builder for ease of use from Java. 2016-09-06 14:20:32 +02:00
Mike Hearn
ad6c59d742 Minor: note in the DummyState doc that it's not a part of DummyContract despite the name. 2016-09-06 14:20:32 +02:00
Andrius Dagys
f3b4379e06 Merged in andrius-minor-transaction-cleanup (pull request #329)
Minor TransactionBuilder cleanup
2016-09-06 13:14:07 +01:00
Andras Slemmer
220b3f9043 Merged in aslemmer-fix-clockutils-race (pull request #328)
fix clockutils race
2016-09-06 11:48:08 +01:00
Andrius Dagys
9cccb11967 Add comment explaining signers 2016-09-06 10:07:08 +01:00
Andras Slemmer
4923e33a7d node: Remove unnecessary @Suppress 2016-09-06 09:52:43 +01:00
Andras Slemmer
737fc0589c node: Add clock test for external interrupt on waiting strand 2016-09-06 09:52:43 +01:00
Andras Slemmer
fc7000c152 node: Fix race in Clock.doInterruptibly by not relying on version counter 2016-09-06 09:52:43 +01:00
Rick Parker
ac35673074 Merged in irs-demo-against-standalone (pull request #326)
Allow IRS demo to be executed against standalone nodes by adding rates upload as a role so doesn't need to be done by node launcher, but can instead be run independently from the command line.
2016-09-06 09:47:17 +01:00
Matthew Nesbit
c6d16ea609 Merged in mnesbit-cleanup-shutdown-in-reverse-order (pull request #325)
Shutdown node components in reverse order to startup
2016-09-06 09:32:58 +01:00
Matthew Nesbit
11efe8ca1b Extend Rick's closeOnShutdown so that all the shutdown that was being done manually is done through the same mechanism. Thus allowing for a consistent reverse ordering and hopefully preventing DB shutdown happening ahead of serverThread shutdown.
Follow Rick's PR suggestions

Preserve comment about abitrary timeout on serverThread stop
2016-09-06 09:18:59 +01:00
rick.parker
240c403091 Allow IRS demo to be executed against standalone nodes by adding rates upload as a role so doesn't need to be done by node launcher, but can instead be run independently from the command line. 2016-09-06 08:24:02 +01:00
Andrius Dagys
2676e8878d Remove a @Deprecated as the code has been changed since its introduction anyway 2016-09-05 18:50:53 +01:00
Andrius Dagys
84247128b4 Remove addInputState(stateRef, notary) from TransactionBuilder API, as it might lead to issues where someone accidentally provides a different notary than the one in the state 2016-09-05 18:47:51 +01:00
Andrius Dagys
aa166518a0 Remove unused val 2016-09-05 18:41:35 +01:00
Andras Slemmer
cb467e55de Merged in aslemmer-driver-dont-use-localhost (pull request #327)
node-driver: Use anyAddress for RandomFree port allication
2016-09-05 18:30:28 +01:00
Andras Slemmer
d8ae07e771 node-driver: Use anyAddress for RandomFree port allication 2016-09-05 17:29:44 +01:00
Andras Slemmer
9836edd191 Revert reuseaddr 2016-09-05 16:08:58 +01:00
Roger Willis
a4d2b28b6b Merged in rog-timeout-patch (pull request #322)
waitForNodeStartup should now throw after 2 minutes rather than 20 seconds. Some bank devs were finding integration tests failing as nodes had still not started...

Added getFreeLocalPorts() for grabbing more than one port. Fixes bug in freeLocalHostAndPort() where the same port can be picked multiple times.

In README.md instruct users to grab IntelliJ16 instead of 15.
2016-09-05 16:06:05 +01:00
Andras Slemmer
da34be752a Merged in aslemmer-remove-reuse-addr (pull request #324)
node-driver: Remove reuseAddress = true as it breaks tests on osx
2016-09-05 15:43:27 +01:00
Andras Slemmer
6b37048a14 node-driver: Remove reuseAddress = true as it breaks tests on osx 2016-09-05 15:43:19 +01:00
Shams Asari
97e1a59770 Refactored FiberRequest into cleaner ProtocolIORequest and fixed checkpoint regression 2016-09-05 14:42:54 +01:00
Matthew Nesbit
a2d7490902 Merged in mnesbit-cleanup-protect-double-stop (pull request #323)
Some integration tests seem to be getting exceptions that suggest the ArtemisMQ session has been closed twice.
2016-09-05 14:27:38 +01:00
Matthew Nesbit
eb8510e7cc Some integration tests seem to be getting exceptions that suggest the ArtemisMQ session has been closed down already. Looking at the client code it is clear two threads can call stop and interfere with each other. Therefore this fixes the running flag logic. 2016-09-05 14:13:38 +01:00
Andras Slemmer
ea3c63e023 Merged in mike-so-reuseaddr (pull request #321)
Testing: Make PortAllocation set SO_REUSEADDR to avoid CI conflicts
2016-09-05 12:24:52 +01:00
Andras Slemmer
637a41401d node-driver: Reuse address when polling for port, poll for correct condition\(!\) 2016-09-05 11:04:31 +01:00
RogerWillis
9cfbb71030 In README.md instruct users to grab latest version of IntelliJ. 2016-09-05 10:45:16 +01:00
RogerWillis
f5b90ab8e5 In README.md instruct users to grab IntelliJ16 instead of 15. 2016-09-05 10:38:44 +01:00
Mike Hearn
3854fec17f Testing: Make PortAllocation set SO_REUSEADDR to avoid CI conflicts 2016-09-05 11:22:00 +02:00
sofusmortensen
fffc049e12 Universal: refactoring, reduction/evaluation with unit test first steps 2016-09-04 22:50:32 +02:00
Ross Nicoll
d012931a4f Fix cash exit generation 2016-09-02 18:15:58 +01:00
Andras Slemmer
116bb7c1ba Merged in aslemmer-fix-wallet-monitor-service-tests (pull request #319)
Fix wallet monitor service tests
2016-09-02 09:26:40 +01:00
Ross Nicoll
32d96b78a8 Add missing dependency on test-utils 2016-09-01 18:36:19 +01:00
Andras Slemmer
ca1b0083ed node: Clean up messy issue in test 2016-09-01 18:15:47 +01:00
Andras Slemmer
0298ccf0d6 test-utils: Rename repeat to replicate due to name clashes 2016-09-01 18:15:47 +01:00
Andras Slemmer
dded4c6e8f node: FIx WalletMonitorService tests 2016-09-01 18:15:47 +01:00
Andras Slemmer
5b2157cdc8 client, test-utils: Move Expect dsl to test-utils 2016-09-01 18:15:47 +01:00
Ross Nicoll
0fb9f37518 Merged in rnicoll-warnings (pull request #315)
Correct warnings
2016-09-01 16:40:57 +01:00
Ross Nicoll
4d0b23ab6f Add log4j-web to node
Add log4j-web to node so it stops complaining that it's running in a web environment without that option.
Longer term we may want to split the web parts into their own optional extra for node, but for now I think
this is a sensible solution.
2016-09-01 16:15:15 +01:00
Ross Nicoll
9cccc7a2b7 Correct warnings 2016-09-01 16:15:15 +01:00
Ross Nicoll
b913b18e02 Merged in rnicoll-simulations (pull request #314)
Move test code from node to test-utils
2016-09-01 15:21:34 +01:00
Ross Nicoll
102e3f2048 Merged in rnicoll-clause-remove-concrete (pull request #316)
Merge ConcreteClause into Clause
2016-09-01 13:42:56 +01:00
Matthew Nesbit
a77556f72c Merged in mnesbit-exclude-bouncycastle-jdk14 (pull request #317)
Remove bouncycastle-jdk14 that is causing problems for one of the member banks.
2016-09-01 11:26:46 +01:00
Ross Nicoll
868b23a923 Move simulations to top level 2016-09-01 11:15:05 +01:00
Ross Nicoll
07f44e9e2a Move test code from node to test-utils 2016-09-01 11:15:05 +01:00
Matthew Nesbit
039229cdfd Remove bouncycastle-jdk14 that is causing problems for one of the member banks.
Only need testCompile scope
2016-09-01 11:04:48 +01:00
Andras Slemmer
6af7945dc6 Merged in aslemmer-node-client (pull request #305)
Aslemmer node client
2016-09-01 10:22:50 +01:00