Commit Graph

7839 Commits

Author SHA1 Message Date
David Voell af545f4beb Update CONTRIBUTING.md 2017-02-03 16:37:37 -05:00
David Voell bf8777be4a Update README.md 2017-02-03 16:31:34 -05:00
Samer Falah e521fa067d Merge pull request #46 from bts/quorum-managed-state-concurrent-write-fix
state: take write lock in GetNonce
2017-02-02 08:36:37 -05:00
Brian Schroeder 65a8d807f6 state: take write lock in GetNonce
We must take a write lock here because `GetNonce` calls
`StateDB.GetStateObject`, which mutates the DB's live set.
2017-02-01 11:17:54 -05:00
Tyrone Lobban c90f8afe7a Add Third Party section to README.md (#45) 2017-01-25 10:17:38 -05:00
Samer Falah 2e5bfda900 Merge pull request #41 from jpmorganchase/tylobban-patch-1-1
Updated running.md to remove the duplicate address in the genesis block
2017-01-20 12:16:54 -05:00
Tyrone Lobban 5b5e65ed87 Update running.md
remove duplicate ether balance for account 0xed9d02...
2017-01-20 17:12:19 +00:00
Samer Falah b9adeeb963 Merge pull request #40 from bas-vk/quorum-txpool-pending-state
core: init pending state in tx pool on creation
2017-01-17 11:50:06 -05:00
Bas van Kervel de210f976d
core: init pending state in tx pool on creation 2017-01-13 21:22:00 +01:00
Patrick Mylund Nielsen f5e86643ed internal.ethapi.api: Async improves performance in high-latency environments, not low-latency 2016-12-20 12:52:53 -05:00
Patrick Mylund Nielsen f9c5b9caaf internal.ethapi.api: Avoid doing any callback-related work if callbackUrl isn't set in Async 2016-12-20 12:45:06 -05:00
Patrick Mylund Nielsen 5c9bcbb5a8 internal.ethapi.api: Remove unnecessary pool field from Async 2016-12-20 12:38:01 -05:00
Patrick Mylund Nielsen 6d0bd81048 Revert "core/quorum: check if transaction was already applied" (#33) 2016-12-19 22:46:18 -05:00
Patrick Mylund Nielsen d400d62448 internal.ethapi.api: Only send callback if set 2016-12-19 22:45:55 -05:00
Patrick Mylund Nielsen 0c05f9fde1 Add temporary SendTransactionAsync to PublicTransactionPoolAPI (#32) 2016-12-19 22:38:26 -05:00
Samer Falah a5d3e90797 Updated issue template (#28) 2016-12-06 13:31:52 -05:00
Samer Falah 4de8613eac Merge pull request #27 from jpmorganchase/tylobban-contributing
Update CONTRIBUTING.md
2016-12-06 12:14:14 -05:00
Tyrone Lobban 8c6a0ad636 Update CONTRIBUTING.md
align to current Contribution messaging
2016-12-06 17:12:31 +00:00
Patrick Mylund Nielsen 9d0d3290bb internal/ethapi/api: Chop '0x' in GetQuorumPayload if present 2016-12-02 14:17:40 -05:00
Patrick Mylund Nielsen 45d697ec31 internal/ethapi/api: In GetQuorumPayload, return error if PrivateTransactionManager is not enabled (rather than panic) 2016-12-02 10:27:39 -05:00
Patrick Mylund Nielsen 4b3acd454c Merge pull request #25 from jpmorganchase/getquorumpayload
Add PublicBlockChainApi.GetQuorumPayload
2016-12-01 17:59:50 -05:00
Patrick Mylund Nielsen a89830da85 Add PublicBlockChainApi.GetQuorumPayload 2016-12-01 16:40:33 -05:00
Patrick Mylund Nielsen 35502e6952 README.md: quorum-examples/7nodes is the path inside Vagrant 2016-11-24 23:15:42 -05:00
Patrick Mylund Nielsen d6d789075f README.md: Correct example path (examples are now in quorum-examples/examples) 2016-11-23 17:39:30 -05:00
Samer Falah 913c14ea68 Merge pull request #18 from jpmorganchase/tylobban-patch-1
Fix broken link
2016-11-22 10:16:06 -05:00
tylobban 5592580491 Fix broken link
update link to reflect new quorum-examples dir structure
2016-11-22 08:21:10 +00:00
Patrick Mylund Nielsen 6ce61232f9 Merge pull request #17 from jpmorganchase/nonce
core/quorum: check if transaction was already applied
2016-11-21 11:41:28 -05:00
Patrick Mylund Nielsen c6c4f91849 Merge pull request #16 from jpmorganchase/davoell-patch-1
Update README.md
2016-11-21 09:56:07 -05:00
David Voell 59a045e20c Update README.md 2016-11-21 09:30:23 -05:00
Bas van Kervel 269a7ee8d4 core/quorum: check if transaction was already applied
Due to the asynchronous eventing system its possible that transactions
are applied on the pending state multiple times. Once with the TxPreEvent
event and once as a result of the ChainHeadEvent that will fetch all
processable transaction from the transaction pool. This leads to an
invalid nonce message.

This PR will keep track of transactions applied to the pending state
and will verify that an transaction was not applied before.
2016-11-21 12:31:24 +01:00
David Voell 85327f743b Update README.md 2016-11-20 21:35:01 -05:00
Chetan Sarva c3c789c774 docs: fixed path 2016-11-18 11:52:54 -05:00
Chetan Sarva 6ab6277724 docs: privacy APIs 2016-11-18 10:51:43 -05:00
Patrick Mylund Nielsen 116bb4544f Merge pull request #14 from bas-vk/votenonce
quorum: retrieve nonce from txpool instead of pending state
2016-11-18 10:18:31 -05:00
Patrick Mylund Nielsen a961389cc6 Merge pull request #15 from jpmorganchase/permissions-rebased
implemented node permissioning
2016-11-18 10:17:44 -05:00
Bas van Kervel 9653112893 quorum: retrieve nonce from txpool instead of pending state 2016-11-18 13:58:52 +01:00
Chetan Sarva 8011cd2fb6 docs: updated contributing info 2016-11-17 22:35:18 -05:00
Chetan Sarva cd152a1518 docs: updated whitepaper link 2016-11-17 22:15:38 -05:00
Sudhir Upadhyay 5806b453a9 implemented node permissioning 2016-11-17 18:50:28 -05:00
Chetan Sarva 3dfb13fe86 docs: updated architecture diagram 2016-11-17 16:07:02 -05:00
Chetan Sarva 2cf8e68619 docs: updated quickstart example 2016-11-17 16:02:13 -05:00
Patrick Mylund Nielsen 9294f11f40 Update first line in README.md to be more accurate 2016-11-17 14:14:48 -05:00
Patrick Mylund Nielsen f080020e86 Merge pull request #12 from jpmorganchase/jpm-master
core: added small private test framework
2016-11-17 10:51:34 -05:00
Samer Falah ed599df741 Merge pull request #13 from bas-vk/privpubstate
core: check private state for to existance first
2016-11-17 09:13:29 -05:00
Bas van Kervel 2ea7af01c4 core: check private state for to existance first 2016-11-17 15:06:32 +01:00
Jeffrey Wilcke 591b463b32 core: added small private test framework
For an example on how to create such a test run: `godep -hhtp=:6060 and
navigate to http://localhost:6060/pkg/github.com/ethereum/go-ethereum/core/#example_MakeCallHelper
2016-11-17 14:14:05 +01:00
Samer Falah a84c31ce76 Merge pull request #10 from jpmorganchase/jpm-master
Private TX processing and test improvements
2016-11-17 07:43:57 -05:00
Jeffrey Wilcke 1097bdb1b6 core, eth: Fixed creation if private addresses on public state
Whenever a private transaction was initiated and executed the address
would be created on the public state when initialising the initial Call.
To prevent this we use the msg's address rather than using the to method
on the state transition object.

Improved private transaction tests by checking existance of private and
public addresses on the incorrect state.
2016-11-17 13:22:58 +01:00
Jeffrey Wilcke fb5564a7de core: added private tx test, added PrivateMessage
PrivateMessage embeds Message and requires IsPrivate() bool to be
defined on the implementation.
2016-11-17 12:15:04 +01:00
Patrick Mylund Nielsen eed0947154 GetVMEnv fix 2016-11-16 18:36:12 -05:00