Commit Graph

1673 Commits

Author SHA1 Message Date
vsmk98 72a4cf87b3 Merge branch 'master' into permission-cache-impl
# Conflicts:
#	core/types/permissions_cache_test.go
#	params/quorum.go
#	permission/api.go
#	permission/permission.go
#	permission/permission_test.go
2020-05-14 10:52:49 +08:00
amalraj 72ad6db167
raft: return error if block processing is aborted (#992) 2020-05-12 15:32:50 -04:00
Trung Nguyen 3034c75403
fix linting issues (#995) 2020-05-11 16:15:27 -04:00
vsmk98 9878b522d4 Merge branch 'master' into permission-cache-impl
# Conflicts:
#	permission/bind/accounts.go
#	permission/bind/nodes.go
#	permission/bind/org.go
#	permission/bind/permission_impl.go
#	permission/bind/permission_interface.go
#	permission/bind/permission_upgr.go
#	permission/bind/roles.go
#	permission/bind/voter.go
#	permission/contract/gen/AccountManager.bin
#	permission/contract/gen/NodeManager.bin
#	permission/contract/gen/OrgManager.bin
#	permission/contract/gen/PermissionsImplementation.bin
#	permission/contract/gen/PermissionsInterface.bin
#	permission/contract/gen/PermissionsUpgradable.bin
#	permission/contract/gen/RoleManager.bin
#	permission/contract/gen/VoterManager.bin
#	permission/permission.go
2020-05-04 13:34:25 +08:00
Sai V b4e2199ca1
Enable networks to change maxCodeSize multiple times (#975) 2020-04-30 11:48:23 -04:00
Sai V c215989c10
Quorum geth upgrade to 1.9.7 (#960)
Co-authored-by: amalraj.manigmail.com <amalraj.manigmail.com>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Co-authored-by: Flash Sheridan <flash@pobox.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Nguyen Kien Trung <trung.n.k@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Rob Mulholand <rmulholand@8thlight.com>
Co-authored-by: Felföldi Zsolt <zsfelfoldi@gmail.com>
Co-authored-by: soc1c <soc1c@users.noreply.github.com>
Co-authored-by: Rafael Matias <rafael@skyle.net>
Co-authored-by: gary rong <garyrong0905@gmail.com>
Co-authored-by: Lucas Hendren <lhendre2@gmail.com>
Co-authored-by: Ryan Schneider <ryanleeschneider@gmail.com>
Co-authored-by: ywzqwwt <39263032+ywzqwwt@users.noreply.github.com>
Co-authored-by: zcheng9 <zcheng9@hawk.iit.edu>
Co-authored-by: zzy96 <zhou0250@e.ntu.edu.sg>
Co-authored-by: kikilass <36239971+kikilass@users.noreply.github.com>
Co-authored-by: Darrel Herbst <dherbst@gmail.com>
Co-authored-by: Ross <9055337+Chadsr@users.noreply.github.com>
Co-authored-by: Jeffery Robert Walsh <rlxrlps@gmail.com>
Co-authored-by: Marius Kjærstad <sandakersmann@users.noreply.github.com>
Co-authored-by: Piotr Dyraga <piotr.dyraga@keep.network>
Co-authored-by: Guillaume Ballet <gballet@gmail.com>
Co-authored-by: Michael Forney <mforney@mforney.org>
Co-authored-by: Samuel Marks <807580+SamuelMarks@users.noreply.github.com>
2020-04-29 10:50:56 -04:00
vsmk98 e73704db3a Corrected complete error handling across the package. 2020-04-07 21:52:29 +08:00
vsmk98 db836bf646 updated error handling 2020-04-05 10:27:26 +08:00
vsmk98 734744f79a error handling to handle and propagate all errors encountered in cache population functions. updated unit test in line. 2020-04-03 16:18:20 +08:00
vsmk98 1afcf87a7f error handling in getSubOrgIndex from contract. fixed a unit test failure 2020-04-03 10:01:29 +08:00
vsmk98 f9677c8843 Added unit test cases for permissions cache implementation. Refactored permissions code for enabling unit tests with lower cache configuration 2020-04-02 17:25:36 +08:00
vsmk98 5031e5b8ee handled errors in cache population functions. 2020-03-31 10:20:03 +08:00
vsmk98 1b74c63b2e regeneration of binding code. 2020-03-27 15:10:47 +08:00
vsmk98 b756917487 removed redundant node data rebuild function 2020-03-27 11:18:25 +08:00
vsmk98 75896d38bf Merge branch 'master' into permission-cache-impl 2020-03-27 11:06:19 +08:00
Zhou Zhiyao 4b125de4f2
Bloom filter fixes (#945)
Co-authored-by: Samer Falah <samer.falah@jpmchase.com>
2020-02-25 09:53:22 -05:00
Sai V 439f52942a
added a maxCodeSizeChangeBlock to track the block height when maxCodeSize changes from default value of 24K to the given value in genesis.json (#947) 2020-02-21 12:38:55 -05:00
Sai V 8c50cb09e7
IBFT private state commit issue in a single validator node network (#938) 2020-02-11 15:21:13 -05:00
Peter Fox a603e74570 Rename the transaction manager package to make it more neutral (#895) 2020-01-08 11:15:55 -05:00
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 64e62f527a permission: handled population of sub org list back to cache, changed from channels to function pointers for cache population 2019-10-03 14:36:42 +08:00
vsmk98 9a2a3f5b2e permission: added cache rebuild when an evicted item is accessed for permission checks 2019-10-02 23:43:24 +08: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