Commit Graph

1652 Commits

Author SHA1 Message Date
Peter Fox 6d25447d64 Update file descriptor limits for macOS (#892)
* Introduces proper file handle limits for darwin based OSes (macOS/OSX)
for working with Go 1.12
2019-12-03 10:13:33 -05:00
Zhou Zhiyao b7edc0b6c9 Fix premature abort during blocks processing for raft (#881)
* fix premature abort during blocks processing for raft
2019-11-29 14:13:37 -05:00
Sai V 5cb92ceb3c Fix for Raft stability (#886)
* increased the size of blockProposal and chainHeadEvent channels. Changed the call to mintNewBlock from a go routine to a function call. Changes done to improve performance of Raft in high load envs
2019-11-21 12:04:12 -05:00
vsmk98 cf6e64b513 permission: updated map limits for different caches 2019-10-02 07:48:19 +08:00
vsmk98 3f88b216b7 permission: increased the LRU cache size for permissions 2019-09-30 16:49:20 +08:00
vsmk98 3242dc85f7 permission: Fixed broken unit tests for permissions cache 2019-09-27 16:04:11 +08:00
vsmk98 532ba24f48 permission: Added qip714Block check to GetAccountAccess. Corrected comments 2019-09-27 11:40:59 +08:00
vsmk98 4280bdadac permission: Enabled QIP714Block to allow staggered migration of network for enabling new permissions 2019-09-26 15:38:45 +08:00
vsmk98 afb61f089c permission: removed unused code 2019-09-24 17:09:22 +08:00
vsmk98 0605495bef permission: corrected typo on subOrgBreadth and Deapth variable names 2019-09-24 14:03:08 +08:00
vsmk98 fa74bec4be Merge remote-tracking branch 'remotes/qeng/permissioning-enodeid' into feature/permissioning-1.8.18-suborgs-docs 2019-09-12 09:52:28 +08:00
Trung Nguyen 712f4907ee
permission: refactor hex node id to avoid many changes 2019-09-09 16:19:57 -04:00
Trung Nguyen 40342a1322
permission: minor fixes 2019-09-09 10:28:09 -04:00
vsmk98 50f5852ae4 permission: removed unnecessary mux from permissions_cache.go, added additional unit test for permissions cache, code clean up and documentation change 2019-09-09 15:53:15 +08:00
Trung Nguyen a5c8e7af32
permission: minor fixes and update with master 2019-09-04 14:39:53 -04:00
vsmk98 82fd20b084 permission: unit tests for permission apis 2019-08-30 15:28:35 +08:00
vsmk98 ee0ca9772f Core: Added key store and api test cases 2019-08-29 15:55:45 +08: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 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
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
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 b966118614 permissions: added blacklisted account recovery and approval. 2019-08-02 10:28:20 +08:00
vsmk98 b74fc4d0c2 permissions: added functions for blacklisted node recovery. 2019-08-01 11:10:50 +08: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
Christian Muehlhaeuser acb00b6cf1 Fixed typos (#781)
Typo fixes.
2019-07-25 15:31:38 -04:00
libby kent e0564f7b41 Adding QuorumPrivateTxSigner for signing and recovering private txs. (#767)
Refactor private transaction signing and add a QuorumPrivateTxSigner for signing and recovering private txs.
2019-07-11 13:32:19 -04:00
amalraj.manigmail.com 6d8f451f45 Merge remote-tracking branch 'remotes/quoeng/feature/permissioning-1.8.18-suborgs-docs' into permissioning-suborgs-review
# Conflicts:
#	cmd/geth/main.go
#	controls/bind/permission/permission_impl.go
#	controls/bind/permission/permission_interface.go
#	controls/bind/permission/permission_upgr.go
#	core/types/permissions_cache.go
#	docs/README.md
#	docs/permissions.md
#	eth/backend.go
#	internal/ethapi/api.go
#	permission/api.go
#	permission/bind/implementation.go
#	permission/bind/interface.go
#	permission/bind/permission_impl.go
#	permission/bind/permission_interface.go
#	permission/bind/permission_upgr.go
#	permission/bind/upgradable.go
#	permission/contract/OrgManager.sol
#	permission/contract/PermissionsInterface.sol
#	permission/contract/PermissionsUpgradable.sol
#	permission/contract/abi/OrgManager.abi
#	permission/contract/abi/PermissionsImplementation.abi
#	permission/contract/abi/PermissionsInterface.abi
#	permission/permission.go
2019-07-08 18:57:26 +08:00
Trung Nguyen 74337c7167
added unit tests and comments 2019-06-13 13:41:28 -04:00
Trung Nguyen bacd5dc3c9
non-party must refund gas for private transactions 2019-06-12 17:09:49 -04:00
vsmk98 44089d1be6 permission: Standardising the rpc response object in line with JSON RPC response struct as per review comments 2019-06-03 11:54:13 +08:00
vsmk98 bc91ea034b permission: Code changes as per review comments 2019-05-31 14:29:09 +08:00
vsmk98 b6f4529629 permission: Code changes as per review comments 2019-05-31 14:25:56 +08:00
libby kent d1475ee296 Adding signer tests for EIP155, Homestead and private tx. (#682)
Adding signer tests for EIP155, Homestead and private tx.
2019-05-24 15:46:49 -04:00
vsmk98 57c7b2c37b permission: added check to ensure that network admin org cannot be deactivated 2019-05-22 18:34:59 +08:00
Trung Nguyen bc204f148d
run goimports 2019-05-20 11:23:12 -04:00
vsmk98 dff3a833af permission: refactored executePermAction function 2019-05-18 08:00:00 +08:00
vsmk98 0cd8c89018 permission: code clean up based on review comments 2019-05-17 16:12:53 +08:00
vsmk98 045d936369 permission: Code and documentation clean up 2019-05-15 17:12:11 +08:00
amalraj.manigmail.com 32e5f8e581 params: customize max code size for quorum 2019-05-15 15:10:20 +08:00
amalraj.manigmail.com c5a9a01cad permission: fix unit test 2019-05-15 11:35:14 +08:00
vsmk98 b4756e56d3 permission: Reverted privateAbigen related changes as separate PR is there for this 2019-05-15 11:12:18 +08:00
vsmk98 cbad8d7b5d permissions: code clean up based on review comments 2019-05-13 15:29:47 +08:00
vsmk98 c9ab7e62df permissions: split assignAccountRole api into addAccountToOrg and changeAccountRole 2019-05-13 14:34:37 +08:00
vsmk98 3994997a73 permissions: big fixes and code clean up based on review comments 2019-05-13 14:15:09 +08:00
vsmk98 927f789c1e permissions: fixed update org status failing for invalid orgs 2019-05-10 21:56:28 +08:00
vsmk98 26279ea288 permissions: fix to correct account access when the org is suspended 2019-05-10 21:53:35 +08:00
vsmk98 ad2abca93a permissions: code comments update 2019-05-10 15:17:01 +08:00