Commit Graph

2924 Commits

Author SHA1 Message Date
Ross Nicoll
c1d5e5c82e Add functions for converting Amount to/from decimal
Add new functions for converting amounts to/from decimal representation. Also adds clarification that
the constructor which takes in a BigDecimal drops any fractional part.

Signed-off-by: Ross Nicoll <ross.nicoll@r3.com>
2017-01-11 14:08:07 +00:00
Clinton
a8fc858291 Merge pull request #143 from corda/clint-issue128
runnodes.bat no longer recursives when creating nodes.
2017-01-11 14:04:16 +00:00
Clinton
70bf16be99 Merge pull request #139 from corda/clint-issue134
Fixed TransactionSerializationTests.signWireTX by ensuring the signed…
2017-01-11 11:39:58 +00:00
Clinton Alexander
e38167c500 runnodes.bat no longer recursives when creating nodes. 2017-01-11 11:37:20 +00:00
josecoll
4d0fef4701 Colljos m7 minor config fix boc (#137)
* Fixed incorrect configuration of Issuer node.

* Fixed incorrect configuration of Bank of Corda gradle node config.
2017-01-11 11:01:16 +00:00
Clinton Alexander
e83c6e6b9d Fixed TransactionSerializationTests.signWireTX by ensuring the signed transaction corruption always corrupts the signature. 2017-01-11 10:55:05 +00:00
josecoll
172be1301d Fixed incorrect configuration of Issuer node. (#136) 2017-01-10 17:07:09 +00:00
Ross Nicoll
21194f2894 Merge pull request #135 from corda/rnicoll-require-message
Correct message when checking signing keys
2017-01-10 14:31:42 +00:00
Ross Nicoll
1fbad81773 Correct message when checking signing keys
The keys used to sign a command are tested for being a superset of the keys which own
the states, not for being an exact match (as the text previously suggested). This corrects
the message used if this requirement isn't met.

Signed-off-by: Ross Nicoll <ross.nicoll@r3.com>
2017-01-10 13:19:43 +00:00
Shams Asari
7cd281364f Removed basedir from the config file as it's always overwritten by the --base-directory cmd line arg 2017-01-10 10:49:28 +00:00
Joel Dudley
d87c9eb9d2 Updates the docs landing page to give clear direction to new users. 2017-01-10 10:18:38 +00:00
Mike Hearn
5ae417fe49 Minor: typo fix in the technical whitepaper. 2017-01-09 20:20:10 +01:00
Shams Asari
334b91faf0 Testing that a node can communicate with a distributed service it's part of 2017-01-09 17:21:51 +00:00
Joel Dudley
e55833d147 Details of First/AnyComposition. Expands on clause workings. Typos. 2017-01-09 16:09:32 +00:00
Clinton
af42bb389b Merge pull request #126 from corda/release-M7
Release notes for M7
2017-01-09 15:12:30 +00:00
Clinton Alexander
2d07014bf9 Fixed rendering of URLs on the release notes. 2017-01-09 15:03:53 +00:00
Mike Hearn
b3fa9d62c1 Make the attachments demo IntelliJ run configs work again. 2017-01-09 15:55:02 +01:00
Clinton
470c01c15f Merge pull request #129 from corda/joel-docs-master
Regens docs.
2017-01-06 17:40:31 +00:00
Joel Dudley
a8a371fcda Regens docs. 2017-01-06 17:38:23 +00:00
Clinton Alexander
b6a325e7c7 Updated M7 release notes. 2017-01-06 17:20:41 +00:00
Clinton Alexander
def621ad0d Release notes updated. 2017-01-06 17:09:37 +00:00
Clinton Alexander
4c566d086e Further improvements to the M7 release notes. 2017-01-06 17:00:59 +00:00
Clinton Alexander
e0197e8982 Updated release notes for M7. 2017-01-06 17:00:59 +00:00
Clinton Alexander
c40ada96f1 Improved release notes. 2017-01-06 17:00:59 +00:00
Clinton Alexander
9338a3c06a Added first version of M7 release nodes. 2017-01-06 17:00:59 +00:00
Clinton
60f72d4427 Merge pull request #127 from corda/clint-generatedocsitewinfix
The generate docsite script now works on both msys/cygwin systems and Unix systems
2017-01-06 16:29:14 +00:00
Katarzyna Streich
17beab06c2 Fix docs to reflect future date change. Add Kryo registration of PaymentEvent classes. 2017-01-06 16:22:27 +00:00
Clinton Alexander
71460d78b1 The generate docsite script now works on both msys/cygwin systems and Unix systems. 2017-01-06 16:16:10 +00:00
Mike Hearn
9a75adb0ab Simplify the attachments demo by getting rid of the web API and just using the RPC interface directly. The web API in this case wasn't actually adding anything that had to be server side. 2017-01-06 16:58:34 +01:00
Mike Hearn
5f79acaa88 Enable Kotlin incremental compilation in Gradle 2017-01-06 16:39:01 +01:00
Mike Hearn
78a6daa985 Minor: log RPC/peer logins 2017-01-06 16:39:01 +01:00
Mike Hearn
32523d376e RPC: Improve the client class with a convenience function and some startup time logging.
This reveals that building the first RPC client is ludicrously slow (like 1.8 seconds) but subsequent builds are more like 30 msec. This might be interpreter overhead, or it might be due to Artemis/SSL doing lots of piggy lazy initialisation or something. But at any rate it may be worth investigating a bit later.
2017-01-06 16:39:01 +01:00
Mike Hearn
ecb460b698 Minor: small improvement to logElapsedTime (use the montonic clock and log even when an exception is thrown) 2017-01-06 16:39:01 +01:00
Mike Hearn
20dbdf9d1b Make SSL optional in the RPC client 2017-01-06 16:39:01 +01:00
Andrius Dagys
15363e686a Update RaftNotaryServiceTest to support idempotent notary behaviour 2017-01-06 14:39:34 +00:00
Shams Asari
59456cb6b1 Added a method to NodeHandle to simplify using RPC in the Driver 2017-01-06 14:14:32 +00:00
Andrius Dagys
0867a05ad7 Merge pull request #96 from thschroeter/idempotent-notary-flow
Make NotaryFlow idempotent
2017-01-06 13:53:27 +00:00
kasiastreich
ee99d7e9d0 Simm demo fix (#122)
* Update main to match nodes in deployNodes configuration (no Bank C).

* Update simm-valuation-demo documentation and comments.
2017-01-06 13:50:18 +00:00
Joel Dudley
3d747ff663 General running-the-demos docs update. 2017-01-06 13:29:57 +00:00
Mike Hearn
7247e7280f Two runnodes fixes for MacOS X:
1) Support users who run non-bash shells
2) Use /usr/bin/libexec to pick the right Java version, as currently Corda does not start on Java 9
2017-01-06 12:36:49 +01:00
Joel Dudley
b5c319aeca Unix vs Windows demo instructions. Duplicate SIMM page. Typos. Bad nesting. 2017-01-06 11:05:37 +00:00
Rick Parker
592ac07af0 Upgrade reactivex.rxjava version to latest 1.x (#111)
Update rxjava version and fix thread safety of database transaction boundary subject.
2017-01-06 10:26:44 +00:00
Andrius Dagys
6bb0a68d6d Add @JvmOveloads to TransactionState so the encumbrance pointer doesn't have to always be specified when calling from Java 2017-01-06 10:18:29 +00:00
Thomas Schroeter
0f43a88b19 Add TODO to move duplicate input detection to TransactionType.verify
Resolving the TODO in a follow-up PR.
2017-01-06 09:10:45 +00:00
Thomas Schroeter
0b43c5634e Clean comment 2017-01-05 19:33:46 +00:00
josecoll
08047e7d72 Fixed gradle runnode config for Bank of Corda (RPC Client was failing). (#115)
Fixed doc mistake.
2017-01-05 18:37:54 +00:00
Clinton
a636ae527b Merge pull request #114 from corda/clint-windowsrunnodesfix
Windows runnodes.bat now works from any working directory
2017-01-05 18:19:54 +00:00
Andrius Dagys
b9d5081af6 Update notary change flow to support encumbrances (#101)
* Update notary change flow to support encumbrances.

Move encumbrance pointer from ContractState to TransactionState.

* Refactor & add new encumbrance tests
2017-01-05 17:44:31 +00:00
Clinton Alexander
b49c97d409 runnodes.bat returns the user to the original directory. 2017-01-05 16:07:31 +00:00
Clinton Alexander
857de9df49 runnodes.bat can now run the nodes from any working directory and not cause an infinite loop and system crash. 2017-01-05 15:57:32 +00:00