Peter Rabbitson
29817b6617
Remove all Chain GC wrappings/types
...
There is no practical way to do GC against the chainstore given the current
state of affairs: remove all GC-related types for the time being.
2020-11-12 06:49:53 +01:00
Peter Rabbitson
7be7a9b5e3
Stop referring to github.com/ipfs/go-ipfs-blockstore outside of lib
2020-11-12 06:01:35 +01:00
Raúl Kripalani
72547f9ec3
badger tests: fix fd leak.
2020-11-11 23:12:57 +00:00
Raúl Kripalani
04a866121e
badger/AllKeysChan(): respect context.
2020-11-11 23:12:16 +00:00
Aayush Rajasekaran
735c04f999
Merge pull request #4681 from filecoin-project/badger-viewable
...
move to native badger blockstore; leverage zero-copy View() to deserialize in-place
2020-11-10 18:08:12 -05:00
Raúl Kripalani
bc6965c86f
skip callers in badger log for useful line info.
2020-11-10 22:50:53 +00:00
Raúl Kripalani
659ceaabdd
fix comment.
2020-11-10 17:51:11 +00:00
Raúl Kripalani
d79ff24014
remove benchmark.
2020-11-10 17:50:21 +00:00
Raúl Kripalani
339391ecfb
Revert "(to be reverted) add debug.PrintStack."
...
This reverts commit f8c3756ac0
.
2020-11-10 16:08:41 +00:00
Raúl Kripalani
f8c3756ac0
(to be reverted) add debug.PrintStack.
2020-11-10 15:22:17 +00:00
Raúl Kripalani
360194b29b
fix comment.
2020-11-10 15:02:55 +00:00
Raúl Kripalani
6d78de95a1
remove unused and misleading cachebs store.
2020-11-10 13:34:56 +00:00
Raúl Kripalani
577476b8fe
import Viewable non-terminal blockstores.
2020-11-10 13:16:24 +00:00
Raúl Kripalani
54bf7c99d7
add the viewable trait to our gazillion blockstores.
2020-11-10 12:40:32 +00:00
少爷
e340996919
delete new context
2020-11-10 17:40:48 +08:00
少爷
de2637b4fa
async connect to bootstrappers
2020-11-10 17:23:46 +08:00
Raúl Kripalani
3577300aee
Merge branch 'master' into badger-viewable
2020-11-06 19:34:25 +00:00
Raúl Kripalani
7c442e1a98
godocs.
2020-11-06 18:55:13 +00:00
Raúl Kripalani
de4a0725f3
rename files.
2020-11-06 18:32:44 +00:00
Raúl Kripalani
b1aa43741a
remove file that sneaked in.
2020-11-05 13:34:41 +00:00
Łukasz Magiera
a1e1b03ca4
Optionally allow bitswap for chainstore
2020-11-03 23:44:44 +01:00
Łukasz Magiera
b0824ada15
bufbs: Get from write blockstore first
2020-11-03 23:02:01 +01:00
Raúl Kripalani
d1ebf3c769
introduce non-pooled StorageKey method.
2020-11-02 13:32:07 +00:00
Raúl Kripalani
7facdf63c9
support legacy keying: base32 multihashes *sigh*.
2020-11-02 12:55:56 +00:00
Raúl Kripalani
72e573d98d
fix lint.
2020-11-01 17:09:14 +00:00
Raúl Kripalani
9437136f84
fixup.
2020-11-01 13:01:38 +00:00
Raúl Kripalani
ce27b13076
add a native badger blockstore with View() method.
2020-11-01 12:55:49 +00:00
Łukasz Magiera
c3d00b0ac6
Merge pull request #4650 from jsign/jsign/offlinemode
...
make IPFS online mode configurable
2020-10-29 22:24:58 +01:00
Ignacio Hagopian
7d0f279353
make IPFS online mode configurable
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-10-29 15:16:45 -03:00
Łukasz Magiera
8c60069bb8
Merge pull request #4535 from filecoin-project/feat/clientdeal-cache-commd
...
client deal: Cache CommD when creating multiple deals
2020-10-27 03:58:25 +01:00
Łukasz Magiera
31a474a1ca
Move CommPWriter to lib/
2020-10-26 15:16:28 +01:00
Jakub Sztandera
9fbd2a50ff
Fix lint
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-23 20:50:17 +02:00
Jakub Sztandera
ea69386519
Fix flaky TestTimedBSSimple
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-23 20:46:06 +02:00
Jakub Sztandera
3a46c15c4a
Disable blockstore bloom filter
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-21 04:22:49 +02:00
Steven Allen
86e30729bf
give the TimeCacheBS tests a bit more time
...
Otherwise, they flake once in a while.
2020-10-14 16:51:26 -07:00
Steven Allen
811f1304e6
test timed cache blockstore
2020-10-14 16:17:55 -07:00
Steven Allen
15fe998c68
add an timed-cache blockstore
...
This blockstore lets us write to a temporary scratch location where blocks older
than the specified cache time are automatically cleared.
2020-10-14 14:43:58 -07:00
Steven Allen
4b38809c0b
in-memory blockstore
...
Instead of using an in-memory datastore and dealing with the overhead of
computing datastore keys, creating new blocks, etc, use an in-memory blockstore.
2020-10-14 14:43:58 -07:00
Łukasz Magiera
8cdf078999
backup: append checksum
2020-10-06 01:50:54 +02:00
Łukasz Magiera
d7ec5e3618
lotus-miner init restore
2020-10-01 17:55:48 +02:00
Łukasz Magiera
c8a3269c4b
shed: utils to read datastore backups
2020-10-01 17:55:47 +02:00
Łukasz Magiera
2dc9a1ee4e
lotus-miner backup command
2020-10-01 17:55:47 +02:00
Łukasz Magiera
4d4bab12eb
Improve miner sectors list UX
2020-09-30 13:34:05 +02:00
Jakub Sztandera
4fce0181ab
Ignore the linter
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-08 12:18:48 +02:00
Jakub Sztandera
74e577610a
Forward peers from hello to blocksync
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-08 10:18:51 +02:00
Aayush Rajasekaran
39755a294a
Update to specs v0.9.6
2020-09-07 15:48:41 -04:00
frrist
0d61e0d717
refactor(ctx): update to latest go-jsonrpc
2020-08-25 15:20:41 -07:00
Steven Allen
5733c71c50
Lint everything
...
We were ignoring quite a few error cases, and had one case where we weren't
actually updating state where we wanted to. Unfortunately, if the linter doesn't
pass, nobody has any reason to actually check lint failures in CI.
There are three remaining XXXs marked in the code for lint.
2020-08-20 20:46:36 -07:00
whyrusleeping
38a2f82f78
fix fd limit test
2020-08-20 18:43:43 -07:00
whyrusleeping
2010bf55b7
add a doc on environment variables that can be used to tweak lotus
2020-08-20 12:52:50 -07:00