Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

与原仓库同步 #4

Merged
merged 82 commits into from
Oct 13, 2020
Merged
Changes from 1 commit
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
7ca6354
Fix cell on maxNBlocksPerDay (3.X) (#142)
superboyiii Nov 13, 2019
9c82661
Upgrade dependencies and target frameworks (#147)
erikzhang Nov 30, 2019
b2e9e29
Remove Travis and use Github Actions (#151)
erikzhang Dec 2, 2019
80c66e1
Fix SystemLog
erikzhang Dec 3, 2019
b50e790
Add LevelDBStore (#150)
erikzhang Dec 3, 2019
e48eae0
Neo v3.0.0-CI00817
erikzhang Dec 4, 2019
bd2d33a
Fix leveldb (#153)
erikzhang Dec 5, 2019
29fee59
Fix ApplicationLog (#154)
erikzhang Dec 5, 2019
48e1ce8
Dispose ApplicationEngine after using (#156)
erikzhang Dec 6, 2019
8783ade
RocksDb storage plugin (#144)
shargon Dec 7, 2019
971c251
Move projects to src (#159)
erikzhang Dec 7, 2019
9fce80e
Remove ImportBlocks (#161)
erikzhang Dec 8, 2019
d3603c5
Update .sln
erikzhang Dec 8, 2019
f326b21
Rename tests
erikzhang Dec 9, 2019
c369cd2
Add RpcClient (#163)
erikzhang Dec 9, 2019
68957fb
Remove CoreMetrics (#164)
erikzhang Dec 9, 2019
68fbc69
Coveralls (#165)
erikzhang Dec 9, 2019
fa5a83c
Add RpcServer (#160)
erikzhang Dec 15, 2019
c08ce90
Update README.md (#146)
Celia18305 Dec 24, 2019
b3fcf1f
Update NuGet versions of all modules (#174)
vncoelho Jan 11, 2020
ef91c52
Rpc limits (3x) (#172)
shargon Jan 15, 2020
febc7f5
update readme (#169)
Jan 22, 2020
7769261
dotnet-format (#185)
shargon Feb 11, 2020
3bab3e1
Fix RpcServer[GetStorage] (#183)
superboyiii Feb 11, 2020
9c28dec
Update Neo nuget to 3.0.0-CI00855 (#186)
superboyiii Feb 19, 2020
862cc79
fix balance not change for non-transfer tx (#181)
Mar 11, 2020
bbcfa56
adapt RpcClient to modules (#171)
chenquanyu Mar 19, 2020
74f3ebd
Deal with contract destory (#196)
bettybao1209 Mar 26, 2020
bd4b9ce
Remove GetBlockSysFee (#199)
bettybao1209 Mar 27, 2020
3e1078d
ByteArray -> ByteString (#215)
vncoelho Apr 4, 2020
d53fc24
Change module command (#187)
shargon Apr 10, 2020
01948ba
Fix RelayResult issue (#220)
bettybao1209 Apr 13, 2020
12dcef0
Add CheckWitness to func invokefunction (#214)
Qiao-Jin Apr 13, 2020
f451ca8
remove round up sysfee (#219)
bettybao1209 Apr 13, 2020
d62b18b
Enable programmatic configuration of RpcServer plugin (#206)
devhawk Apr 15, 2020
14f3f4b
Fix SystemLog (#222)
erikzhang Apr 16, 2020
6d2ba88
Update and consolidate nugets (#194)
shargon Apr 16, 2020
5adfcd5
add multi-sig-transfer (#213)
chenquanyu Apr 18, 2020
db682b6
Update nugets (#226)
bettybao1209 Apr 22, 2020
3cf726b
Add StackItem ToJson (#221)
bettybao1209 Apr 28, 2020
57f2ab5
Override RpcServerPlugin's name (#235)
ProDog May 7, 2020
6b06c1f
Fix RpcServer RegisterMethods (#239)
ProDog May 11, 2020
779a0b7
Update nugets (#233)
shargon May 11, 2020
3dcd2bd
Allow to share logs in read mode (#240)
shargon May 12, 2020
a314f9e
Create generic getunclaimedgas and rename wallet ones (#243)
vncoelho May 25, 2020
2bcfb9d
fix relay tx (#249)
Tommo-L May 27, 2020
eb75e0d
add issue template (#250)
Jun 1, 2020
bd7468e
delete systemlog plugin (#246)
Jun 5, 2020
c51b96b
Add plugin desc and fix ut (#257)
Jun 7, 2020
15776e3
Convert StackItem directly to json (#264)
joeqian10 Jun 18, 2020
eddcd2c
Change json field names for GetVersion (#262)
joeqian10 Jun 25, 2020
1bbce6a
remove system log (#272)
ProDog Jun 28, 2020
d55d88c
Neo.VM.3.0.0-CI00958 (#274)
Tommo-L Jun 29, 2020
27aff25
Add EventName to NotifyEventArgs (#267)
joeqian10 Jul 3, 2020
04df890
Replace db.Find by db.Seek (#279)
Tommo-L Jul 5, 2020
50e245b
Add a generic GetUnclaimedGas() in RpcClient (#273)
joeqian10 Jul 7, 2020
1cf385d
Fix seek (#281)
Tommo-L Jul 7, 2020
bc6d38a
Change json fields to all lower case for consistency (#277)
joeqian10 Jul 8, 2020
f51432d
fix add signature in invokefunction and invokescript (#280)
ProDog Jul 9, 2020
40f9180
update nuget (#283)
cloud8little Jul 9, 2020
70f65d4
update IStorageProvider (#285)
ProDog Jul 13, 2020
6dc340c
update signers for invokefunction and invokescript (#286)
ProDog Jul 15, 2020
dcd946a
Add BloomFilter to levelDB (#253)
Qiao-Jin Jul 16, 2020
804181f
Solve workflow conflict (#294)
superboyiii Jul 17, 2020
d21b537
update InvokeFunction (#295)
ProDog Jul 18, 2020
424a25a
Fix db.Seek (#291)
Tommo-L Jul 21, 2020
b0ed3f2
update RpcClient (#296)
ProDog Jul 21, 2020
612b4cb
Add Utility.StackItemFromJson (#302)
Tommo-L Jul 29, 2020
981edd9
Merge Preview3 to Master (#307)
superboyiii Aug 5, 2020
d7214ef
fix #312 (#319)
cloud8little Aug 13, 2020
1fbe6f2
Allow to try to repair leveldb before opening (#322)
erikzhang Aug 16, 2020
c465029
update applicationLogs serialization (#321)
ProDog Aug 17, 2020
83b3a06
Remove old bug (#331)
shargon Aug 26, 2020
4a77dfe
Optimize RocksDb startup (#333)
shargon Aug 27, 2020
01a1ba3
Fix RocksDb (#332)
shargon Sep 2, 2020
435a68b
Add Getcommittee (#342)
cloud8little Sep 11, 2020
294d915
update signers and add sender for rpc api (#309)
ProDog Sep 11, 2020
19086b2
Optimize the result of 'getnep5transfers' (#345)
Sep 12, 2020
c4de92b
Allow querying contracts by name (#340)
shargon Sep 15, 2020
a849d05
Update dependencies (#338)
shargon Sep 16, 2020
fed3f7a
Neo 3.0.0-CI01036 (#353)
Tommo-L Sep 25, 2020
81e07af
Replace getvalidators by getnextblockvalidators (#366)
Tommo-L Oct 12, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Optimize RocksDb startup (neo-project#333)
  • Loading branch information
shargon committed Aug 27, 2020
commit 4a77dfecae9a11cf5784b56e52c632a18f09e31a
12 changes: 10 additions & 2 deletions src/RocksDBStore/Plugins/Storage/Store.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,16 @@ internal class Store : IStore
public Store(string path)
{
var families = new ColumnFamilies();
for (int x = 0; x <= byte.MaxValue; x++)
families.Add(new ColumnFamilies.Descriptor(x.ToString(), new ColumnFamilyOptions()));

try
{
foreach (var family in RocksDb.ListColumnFamilies(Options.Default, Path.GetFullPath(path)))
{
families.Add(new ColumnFamilies.Descriptor(family, new ColumnFamilyOptions()));
}
}
catch { }

db = RocksDb.Open(Options.Default, Path.GetFullPath(path), families);

ColumnFamilyHandle defaultFamily = db.GetDefaultColumnFamily();
Expand Down