Commit Graph

11386 Commits

Author SHA1 Message Date
Trung Nguyen f6cde2119c
permission: fix unit tests 2019-08-27 09:12:48 -04:00
Trung Nguyen 0dffa2eb8d
permission: declare constants for arbitrary values in unit tests 2019-08-27 09:01:59 -04:00
vsmk98 f0bc9df675 Merge remote-tracking branch 'remotes/qeng/permissioning-startup' into feature/permissioning-1.8.18-suborgs-docs 2019-08-27 15:45:26 +08:00
Trung Nguyen 3de8a26276
permission: add unit test for network initialization 2019-08-26 15:55:01 -04:00
Trung Nguyen 7b987cd102
permission: let nonce be decided in the binding 2019-08-26 08:39:29 -04:00
Trung Nguyen 23be20b1b7
permission: let nonce to be decided by the binding 2019-08-26 08:10:44 -04:00
Trung Nguyen 37cbb620ec
permission: add unit tests 2019-08-23 09:49:04 -04:00
Krish1979 50429f8cd3
Merge pull request #808 from jpmorganchase/docs-install-link-fix
Fix broken links in Getting Started docs
2019-08-23 11:39:25 +01:00
chris-j-h c824ab6f47 Fix broken links in Getting Started docs 2019-08-23 10:46:48 +01:00
Trung Nguyen e450ca3438
Merge branch 'permissioning-startup' into permissioning-testing 2019-08-22 15:44:37 -04:00
Trung Nguyen 2f0824fb8b
permission: fix typo 2019-08-22 11:27:38 -04:00
Trung Nguyen fd9d532fc4
permission: use events to bring up permission service asynchronously 2019-08-21 16:55:58 -04:00
Trung Nguyen 8a088def7a
permission: [WIP] start permission service 2019-08-20 09:33:54 -04:00
zzy96 a833142ce5 Merge branch 'master' into raft-issue-795-fix 2019-08-20 17:31:56 +08:00
Trung Nguyen 2fc26b72db
permission: update with latest 2019-08-19 10:19:24 -04:00
Trung Nguyen 2b70d2bfbf
permissions: add unit tests 2019-08-19 09:39:18 -04:00
vsmk98 973caccef5 permission: added go tests for permissions cache management 2019-08-19 16:51:43 +08:00
Zhou Zhiyao 4b45dd2004 Minor fixes (#803) 2019-08-17 08:37:57 -04:00
vsmk98 cfd7e95bd9 permission: minor changes to disconnet node while updating permissioned-nodes.json file 2019-08-16 22:52:23 +08:00
Trung Nguyen 8212be30e7
Merge branch 'feature/permissioning-1.8.18-suborgs-docs' into permissioning-testing 2019-08-15 09:47:39 -04:00
vsmk98 f97e7920c6 Merge remote-tracking branch 'origin/feature/permissioning-1.8.18-suborgs-docs' into feature/permissioning-1.8.18-suborgs-docs 2019-08-15 11:48:44 +08:00
vsmk98 91d85aa15c permission: updated comments 2019-08-15 11:34:47 +08:00
Trung Nguyen 26ec029456
permission: skeleton for writing unit tests 2019-08-14 17:09:24 -04:00
Trung Nguyen 0c6084c7a7
permission: update documentation 2019-08-14 12:28:42 -04:00
Trung Nguyen b4d7b1e282
capture error in CLI layer 2019-08-14 12:01:29 -04:00
Trung Nguyen d3c2c59b94
permission: simplify permission checking logic
- add unit tests
- minor enhancements on handling JSON unmarshalling
2019-08-14 11:55:42 -04:00
zzy96 1d8954c480 forceSnapshot on ConfChangeAddNode for single node scenario, fix issue 795 2019-08-14 22:35:04 +08:00
vsmk98 1f0da48be6 permission: changed to pass the exact error message based on checkAccount response 2019-08-14 14:28:30 +08:00
vsmk98 01f4e9b131 permission: node validation changed from string compare to enode id match in ValidateNodeForTxn 2019-08-14 14:15:02 +08:00
vsmk98 b53841d1d7 permission: changed the signature of IsNodePermissioned to avoid passing ctx. Removed hardcoding of permission-config.json. 2019-08-14 10:54:13 +08:00
Krish1979 6a3a6900bc Tessera 0.10.0 - Documentation update (#801)
Tessera 0.10.0 Release updates
2019-08-13 18:29:02 -04:00
vsmk98 e9a05f63e7 permission: updated documentation for migration scenarios 2019-08-13 15:46:47 +08:00
Libby Kent 7e87e40340 VM read-only mode: check `operation.writes` not `op.isMutating`.
`op.isMutating()` was added for checking mutating VM operation, but `operation.writes`
should be used now as it registers all mutating ops and is consistent with upstream.
Additionally, there is a new  mutating opcode `CREATE2`, but `CREATE2` has not been added to the
`op.isMutating()` set. The VM is in read-only mode when a private contract calls a public contract.
2019-08-12 10:14:23 -04:00
jpmsam c894c2d70e v2.2.5 2019-08-08 15:24:12 -04:00
Krish1979 4c74f47525 Update the key usage on Tessera transaction flow (#782) 2019-08-07 16:52:54 -04:00
vsmk98 51252af349 permission: added checks to ensure that updateAccountStatus function cannot be called with action as recover blacklisted node or approve blacklisted node. 2019-08-07 10:39:21 +08:00
Krish1979 cfaa9d2ebd Cakeshop documentation inclusion (#773) 2019-08-06 09:48:20 -04:00
fixanoid b204d1702a
Updating running notes (#794) 2019-08-06 09:43:19 -04:00
vsmk98 aedd9875a0 permission: permissions api documentation updated for blacklisted account and node recovery related apis. 2019-08-06 15:33:10 +08:00
vsmk98 512996e0b3 permission: registering permission service before raft service registration 2019-08-06 13:49:29 +08:00
vsmk98 2e63f9c9e8 Merge remote-tracking branch 'remotes/upstream/master' into feature/permissioning-1.8.18-suborgs-docs
# Conflicts:
#	cmd/geth/consolecmd_test.go
#	core/vm/evm.go
#	docs/Getting Started/Getting-Started-From-Scratch.md
#	docs/Permissioning/Framework/Quorum Network Security/Nodes/Permissioning/Network Permissioning.md
#	docs/Permissioning/Old Permissioning.md
#	docs/README.md
#	docs/Security/Security & Permissioning.md
#	mkdocs.yml
2019-08-06 11:48:12 +08:00
Brajesh Awasthi baa7efcf3d max code size option in genesis config (#786) 2019-08-02 15:53:15 -04:00
vsmk98 5cfc1a057c permissions: code clean up and removal of hard coded values 2019-08-02 13:36:19 +08:00
vsmk98 b966118614 permissions: added blacklisted account recovery and approval. 2019-08-02 10:28:20 +08:00
vsmk98 56c2717eb1 permissions: added validations for node recovery initiation and approval activties. 2019-08-01 16:19:26 +08:00
vsmk98 755b586428 permissions: added function to approve recovery of blacklisted node. changes to deleted record from disallowed-nodes.json once recovery is complete 2019-08-01 15:19:40 +08:00
vsmk98 b74fc4d0c2 permissions: added functions for blacklisted node recovery. 2019-08-01 11:10:50 +08:00
vsmk98 bce6c1566d permissions : reverted the require check in getIndex functions 2019-08-01 10:29:52 +08:00
amalraj 97b59dfe21 internal/ethapi: ask transaction pool for pending nonce (#784)
internal/ethapi: ask transaction pool for pending nonce
2019-07-30 09:56:57 -04:00
vsmk98 21780cf12f permission: added safemath checks for map index access. updated documentation. Added event for network boot status update 2019-07-30 16:56:44 +08:00