aboutsummaryrefslogtreecommitdiffstats
path: root/core/blockdb
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-02 11:41:28 +0800
committerWei-Ning Huang <w@dexon.org>2018-11-02 11:41:28 +0800
commitf521279b0d3d33e072d0dc439288fa16cbbf34d3 (patch)
tree9ed342cf2453b9e3f991748bdab0dd29811b8d00 /core/blockdb
parentde9b5538bb35fef2459243464fc9c5801b421675 (diff)
downloaddexon-consensus-f521279b0d3d33e072d0dc439288fa16cbbf34d3.tar
dexon-consensus-f521279b0d3d33e072d0dc439288fa16cbbf34d3.tar.gz
dexon-consensus-f521279b0d3d33e072d0dc439288fa16cbbf34d3.tar.bz2
dexon-consensus-f521279b0d3d33e072d0dc439288fa16cbbf34d3.tar.lz
dexon-consensus-f521279b0d3d33e072d0dc439288fa16cbbf34d3.tar.xz
dexon-consensus-f521279b0d3d33e072d0dc439288fa16cbbf34d3.tar.zst
dexon-consensus-f521279b0d3d33e072d0dc439288fa16cbbf34d3.zip
Rename repo to dexon-consensus
Diffstat (limited to 'core/blockdb')
-rw-r--r--core/blockdb/interfaces.go14
-rw-r--r--core/blockdb/level-db.go14
-rw-r--r--core/blockdb/level-db_test.go14
-rw-r--r--core/blockdb/memory.go14
-rw-r--r--core/blockdb/memory_test.go14
5 files changed, 35 insertions, 35 deletions
diff --git a/core/blockdb/interfaces.go b/core/blockdb/interfaces.go
index fd176bc..c856307 100644
--- a/core/blockdb/interfaces.go
+++ b/core/blockdb/interfaces.go
@@ -1,18 +1,18 @@
-// Copyright 2018 The dexon-consensus-core Authors
-// This file is part of the dexon-consensus-core library.
+// Copyright 2018 The dexon-consensus Authors
+// This file is part of the dexon-consensus library.
//
-// The dexon-consensus-core library is free software: you can redistribute it
+// The dexon-consensus library is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation, either version 3 of the License,
// or (at your option) any later version.
//
-// The dexon-consensus-core library is distributed in the hope that it will be
+// The dexon-consensus library is distributed in the hope that it will be
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
// General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
-// along with the dexon-consensus-core library. If not, see
+// along with the dexon-consensus library. If not, see
// <http://www.gnu.org/licenses/>.
package blockdb
@@ -21,8 +21,8 @@ import (
"errors"
"fmt"
- "github.com/dexon-foundation/dexon-consensus-core/common"
- "github.com/dexon-foundation/dexon-consensus-core/core/types"
+ "github.com/dexon-foundation/dexon-consensus/common"
+ "github.com/dexon-foundation/dexon-consensus/core/types"
)
var (
diff --git a/core/blockdb/level-db.go b/core/blockdb/level-db.go
index 79099c0..76730fc 100644
--- a/core/blockdb/level-db.go
+++ b/core/blockdb/level-db.go
@@ -1,18 +1,18 @@
-// Copyright 2018 The dexon-consensus-core Authors
-// This file is part of the dexon-consensus-core library.
+// Copyright 2018 The dexon-consensus Authors
+// This file is part of the dexon-consensus library.
//
-// The dexon-consensus-core library is free software: you can redistribute it
+// The dexon-consensus library is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation, either version 3 of the License,
// or (at your option) any later version.
//
-// The dexon-consensus-core library is distributed in the hope that it will be
+// The dexon-consensus library is distributed in the hope that it will be
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
// General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
-// along with the dexon-consensus-core library. If not, see
+// along with the dexon-consensus library. If not, see
// <http://www.gnu.org/licenses/>.
package blockdb
@@ -22,8 +22,8 @@ import (
"github.com/syndtr/goleveldb/leveldb"
- "github.com/dexon-foundation/dexon-consensus-core/common"
- "github.com/dexon-foundation/dexon-consensus-core/core/types"
+ "github.com/dexon-foundation/dexon-consensus/common"
+ "github.com/dexon-foundation/dexon-consensus/core/types"
)
// LevelDBBackedBlockDB is a leveldb backed BlockDB implementation.
diff --git a/core/blockdb/level-db_test.go b/core/blockdb/level-db_test.go
index 9cabc4a..eb47b9c 100644
--- a/core/blockdb/level-db_test.go
+++ b/core/blockdb/level-db_test.go
@@ -1,18 +1,18 @@
-// Copyright 2018 The dexon-consensus-core Authors
-// This file is part of the dexon-consensus-core library.
+// Copyright 2018 The dexon-consensus Authors
+// This file is part of the dexon-consensus library.
//
-// The dexon-consensus-core library is free software: you can redistribute it
+// The dexon-consensus library is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation, either version 3 of the License,
// or (at your option) any later version.
//
-// The dexon-consensus-core library is distributed in the hope that it will be
+// The dexon-consensus library is distributed in the hope that it will be
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
// General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
-// along with the dexon-consensus-core library. If not, see
+// along with the dexon-consensus library. If not, see
// <http://www.gnu.org/licenses/>.
package blockdb
@@ -26,8 +26,8 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus-core/common"
- "github.com/dexon-foundation/dexon-consensus-core/core/types"
+ "github.com/dexon-foundation/dexon-consensus/common"
+ "github.com/dexon-foundation/dexon-consensus/core/types"
)
type LevelDBTestSuite struct {
diff --git a/core/blockdb/memory.go b/core/blockdb/memory.go
index eeda477..760646e 100644
--- a/core/blockdb/memory.go
+++ b/core/blockdb/memory.go
@@ -1,18 +1,18 @@
-// Copyright 2018 The dexon-consensus-core Authors
-// This file is part of the dexon-consensus-core library.
+// Copyright 2018 The dexon-consensus Authors
+// This file is part of the dexon-consensus library.
//
-// The dexon-consensus-core library is free software: you can redistribute it
+// The dexon-consensus library is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation, either version 3 of the License,
// or (at your option) any later version.
//
-// The dexon-consensus-core library is distributed in the hope that it will be
+// The dexon-consensus library is distributed in the hope that it will be
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
// General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
-// along with the dexon-consensus-core library. If not, see
+// along with the dexon-consensus library. If not, see
// <http://www.gnu.org/licenses/>.
package blockdb
@@ -23,8 +23,8 @@ import (
"os"
"sync"
- "github.com/dexon-foundation/dexon-consensus-core/common"
- "github.com/dexon-foundation/dexon-consensus-core/core/types"
+ "github.com/dexon-foundation/dexon-consensus/common"
+ "github.com/dexon-foundation/dexon-consensus/core/types"
)
type seqIterator struct {
diff --git a/core/blockdb/memory_test.go b/core/blockdb/memory_test.go
index a77d355..e0c0aad 100644
--- a/core/blockdb/memory_test.go
+++ b/core/blockdb/memory_test.go
@@ -1,18 +1,18 @@
-// Copyright 2018 The dexon-consensus-core Authors
-// This file is part of the dexon-consensus-core library.
+// Copyright 2018 The dexon-consensus Authors
+// This file is part of the dexon-consensus library.
//
-// The dexon-consensus-core library is free software: you can redistribute it and/or
+// The dexon-consensus library is free software: you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation, either version 3 of the License,
// or (at your option) any later version.
//
-// The dexon-consensus-core library is distributed in the hope that it will be useful,
+// The dexon-consensus library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
-// along with the dexon-consensus-core library. If not, see
+// along with the dexon-consensus library. If not, see
// <http://www.gnu.org/licenses/>.
package blockdb
@@ -21,8 +21,8 @@ import (
"os"
"testing"
- "github.com/dexon-foundation/dexon-consensus-core/common"
- "github.com/dexon-foundation/dexon-consensus-core/core/types"
+ "github.com/dexon-foundation/dexon-consensus/common"
+ "github.com/dexon-foundation/dexon-consensus/core/types"
"github.com/stretchr/testify/suite"
)