diff --git a/README.md b/README.md index 9170415a5..b431422c2 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Issue priorities may be seen at https://github.com/orgs/c4exnet/projects/4 ## Documentation -The [documentation](https://github.com/c4exnet/docs) is a work-in-progress +The [documentation](https://github.com/c4ei/docs) is a work-in-progress ## License diff --git a/app/protocol/protocol.go b/app/protocol/protocol.go index e385ab194..92ec88213 100644 --- a/app/protocol/protocol.go +++ b/app/protocol/protocol.go @@ -4,9 +4,9 @@ import ( "sync" "sync/atomic" + v5 "github.com/c4ei/c4exd/app/protocol/flows/v5" "github.com/c4ei/yunseokyeol/app/protocol/common" "github.com/c4ei/yunseokyeol/app/protocol/flows/ready" - v5 "github.com/c4exnet/c4exd/app/protocol/flows/v5" "github.com/c4ei/yunseokyeol/app/appmessage" "github.com/c4ei/yunseokyeol/app/protocol/flows/handshake" diff --git a/cmd/c4exwallet/daemon/server/split_transaction.go b/cmd/c4exwallet/daemon/server/split_transaction.go index 77f4f4463..eb3bd2de9 100644 --- a/cmd/c4exwallet/daemon/server/split_transaction.go +++ b/cmd/c4exwallet/daemon/server/split_transaction.go @@ -1,7 +1,7 @@ package server import ( - "github.com/c4exnet/go-secp256k1" + "github.com/c4ei/go-secp256k1" "github.com/pkg/errors" "github.com/c4ei/yunseokyeol/cmd/c4exwallet/libc4exwallet" diff --git a/cmd/c4exwallet/libkaspawallet/bip32/child_key_derivation.go b/cmd/c4exwallet/libkaspawallet/bip32/child_key_derivation.go index a5b48655b..87744ea84 100644 --- a/cmd/c4exwallet/libkaspawallet/bip32/child_key_derivation.go +++ b/cmd/c4exwallet/libkaspawallet/bip32/child_key_derivation.go @@ -3,7 +3,7 @@ package bip32 import ( "encoding/binary" - "github.com/c4exnet/go-secp256k1" + "github.com/c4ei/go-secp256k1" "github.com/pkg/errors" ) diff --git a/cmd/c4exwallet/libkaspawallet/bip32/extended_key.go b/cmd/c4exwallet/libkaspawallet/bip32/extended_key.go index 61eeac08a..66645e51c 100644 --- a/cmd/c4exwallet/libkaspawallet/bip32/extended_key.go +++ b/cmd/c4exwallet/libkaspawallet/bip32/extended_key.go @@ -2,7 +2,7 @@ package bip32 import ( "github.com/btcsuite/btcutil/base58" - "github.com/c4exnet/go-secp256k1" + "github.com/c4ei/go-secp256k1" "github.com/pkg/errors" ) diff --git a/cmd/c4exwallet/libkaspawallet/bip32/serialization.go b/cmd/c4exwallet/libkaspawallet/bip32/serialization.go index 7b8ad956b..6b303fd26 100644 --- a/cmd/c4exwallet/libkaspawallet/bip32/serialization.go +++ b/cmd/c4exwallet/libkaspawallet/bip32/serialization.go @@ -3,8 +3,8 @@ package bip32 import ( "encoding/binary" + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/cmd/c4exwallet/libc4exwallet/bip32/base58" - "github.com/c4exnet/go-secp256k1" "github.com/pkg/errors" ) diff --git a/cmd/c4exwallet/libkaspawallet/keypair.go b/cmd/c4exwallet/libkaspawallet/keypair.go index acddfe307..d27d05405 100644 --- a/cmd/c4exwallet/libkaspawallet/keypair.go +++ b/cmd/c4exwallet/libkaspawallet/keypair.go @@ -5,10 +5,10 @@ import ( "sort" "strings" + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/cmd/c4exwallet/libc4exwallet/bip32" "github.com/c4ei/yunseokyeol/domain/dagconfig" "github.com/c4ei/yunseokyeol/util" - "github.com/c4exnet/go-secp256k1" "github.com/pkg/errors" ) diff --git a/cmd/c4exwallet/sweep.go b/cmd/c4exwallet/sweep.go index 4b95e2ad3..6fcdc6144 100644 --- a/cmd/c4exwallet/sweep.go +++ b/cmd/c4exwallet/sweep.go @@ -5,6 +5,7 @@ import ( "encoding/hex" "fmt" + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/cmd/c4exwallet/daemon/client" "github.com/c4ei/yunseokyeol/cmd/c4exwallet/daemon/pb" "github.com/c4ei/yunseokyeol/cmd/c4exwallet/libc4exwallet" @@ -20,7 +21,6 @@ import ( "github.com/c4ei/yunseokyeol/domain/miningmanager/mempool" "github.com/c4ei/yunseokyeol/util" "github.com/c4ei/yunseokyeol/util/txmass" - "github.com/c4exnet/go-secp256k1" "github.com/pkg/errors" ) diff --git a/domain/consensus/model/externalapi/blocklevelparents.go b/domain/consensus/model/externalapi/blocklevelparents.go index afce35352..b7f0404fc 100644 --- a/domain/consensus/model/externalapi/blocklevelparents.go +++ b/domain/consensus/model/externalapi/blocklevelparents.go @@ -1,7 +1,7 @@ package externalapi // BlockLevelParents represent the parents within a single super-block level -// See https://github.com/c4exnet/research/issues/3 for further details +// See https://github.com/c4ei/research/issues/3 for further details type BlockLevelParents []*DomainHash // Equal returns true if this BlockLevelParents is equal to `other` diff --git a/domain/consensus/processes/blockvalidator/block_body_in_context.go b/domain/consensus/processes/blockvalidator/block_body_in_context.go index 005925984..f69764390 100644 --- a/domain/consensus/processes/blockvalidator/block_body_in_context.go +++ b/domain/consensus/processes/blockvalidator/block_body_in_context.go @@ -168,7 +168,7 @@ func (v *blockValidator) checkCoinbaseSubsidy( return err } - // The pruning proof ( https://github.com/c4exnet/docs/blob/main/Reference/prunality/Prunality.pdf ) concludes + // The pruning proof ( https://github.com/c4ei/docs/blob/main/Reference/prunality/Prunality.pdf ) concludes // that it's impossible for a block to be merged if it was created in the anticone of the pruning point that was // present at the time of the block creation. So if such situation happens we can be sure that it happens during // IBD and that this block has at least pruningDepth-finalityInterval confirmations. diff --git a/domain/consensus/processes/transactionvalidator/transactionvalidator_test.go b/domain/consensus/processes/transactionvalidator/transactionvalidator_test.go index f51230035..4c13d306c 100644 --- a/domain/consensus/processes/transactionvalidator/transactionvalidator_test.go +++ b/domain/consensus/processes/transactionvalidator/transactionvalidator_test.go @@ -1,6 +1,7 @@ package transactionvalidator_test import ( + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/domain/consensus" "github.com/c4ei/yunseokyeol/domain/consensus/ruleerrors" "github.com/c4ei/yunseokyeol/domain/consensus/utils/consensushashing" @@ -8,7 +9,6 @@ import ( "github.com/c4ei/yunseokyeol/domain/consensus/utils/txscript" "github.com/c4ei/yunseokyeol/domain/consensus/utils/utxo" "github.com/c4ei/yunseokyeol/util" - "github.com/c4exnet/go-secp256k1" "testing" diff --git a/domain/consensus/utils/consensushashing/calculate_signature_hash_test.go b/domain/consensus/utils/consensushashing/calculate_signature_hash_test.go index 3dc3c6b47..c749f7f10 100644 --- a/domain/consensus/utils/consensushashing/calculate_signature_hash_test.go +++ b/domain/consensus/utils/consensushashing/calculate_signature_hash_test.go @@ -7,7 +7,7 @@ import ( "github.com/c4ei/yunseokyeol/domain/consensus/utils/subnetworks" - "github.com/c4exnet/go-secp256k1" + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/domain/consensus/utils/consensushashing" "github.com/c4ei/yunseokyeol/domain/consensus/utils/txscript" diff --git a/domain/consensus/utils/multiset/multiset.go b/domain/consensus/utils/multiset/multiset.go index f50d02780..2d6e5e1e1 100644 --- a/domain/consensus/utils/multiset/multiset.go +++ b/domain/consensus/utils/multiset/multiset.go @@ -1,9 +1,9 @@ package multiset import ( + "github.com/c4ei/go-muhash" "github.com/c4ei/yunseokyeol/domain/consensus/model" "github.com/c4ei/yunseokyeol/domain/consensus/model/externalapi" - "github.com/c4exnet/go-muhash" "github.com/pkg/errors" ) diff --git a/domain/consensus/utils/txscript/opcode.go b/domain/consensus/utils/txscript/opcode.go index ec00d8455..e118bc795 100644 --- a/domain/consensus/utils/txscript/opcode.go +++ b/domain/consensus/utils/txscript/opcode.go @@ -17,7 +17,7 @@ import ( "github.com/c4ei/yunseokyeol/domain/consensus/utils/constants" - "github.com/c4exnet/go-secp256k1" + "github.com/c4ei/go-secp256k1" ) // An opcode defines the information related to a txscript opcode. opfunc, if diff --git a/domain/consensus/utils/txscript/sigcache.go b/domain/consensus/utils/txscript/sigcache.go index 42d3f8ec2..ab0e55676 100644 --- a/domain/consensus/utils/txscript/sigcache.go +++ b/domain/consensus/utils/txscript/sigcache.go @@ -5,7 +5,7 @@ package txscript import ( - "github.com/c4exnet/go-secp256k1" + "github.com/c4ei/go-secp256k1" ) // sigCacheEntry represents an entry in the SigCache. Entries within the diff --git a/domain/consensus/utils/txscript/sigcache_ecdsa.go b/domain/consensus/utils/txscript/sigcache_ecdsa.go index 604b5e286..066810355 100644 --- a/domain/consensus/utils/txscript/sigcache_ecdsa.go +++ b/domain/consensus/utils/txscript/sigcache_ecdsa.go @@ -5,7 +5,7 @@ package txscript import ( - "github.com/c4exnet/go-secp256k1" + "github.com/c4ei/go-secp256k1" ) // sigCacheEntryECDSA represents an entry in the SigCache. Entries within the diff --git a/domain/consensus/utils/txscript/sigcache_test.go b/domain/consensus/utils/txscript/sigcache_test.go index 1ee60035e..52f614a2c 100644 --- a/domain/consensus/utils/txscript/sigcache_test.go +++ b/domain/consensus/utils/txscript/sigcache_test.go @@ -8,7 +8,7 @@ import ( "crypto/rand" "testing" - "github.com/c4exnet/go-secp256k1" + "github.com/c4ei/go-secp256k1" ) // genRandomSig returns a random message, a signature of the message under the diff --git a/domain/consensus/utils/txscript/sign.go b/domain/consensus/utils/txscript/sign.go index ae7bfbf6a..4a66581e3 100644 --- a/domain/consensus/utils/txscript/sign.go +++ b/domain/consensus/utils/txscript/sign.go @@ -5,9 +5,9 @@ package txscript import ( + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/domain/consensus/model/externalapi" "github.com/c4ei/yunseokyeol/domain/consensus/utils/consensushashing" - "github.com/c4exnet/go-secp256k1" "github.com/pkg/errors" "github.com/c4ei/yunseokyeol/domain/dagconfig" diff --git a/domain/consensus/utils/txscript/sign_test.go b/domain/consensus/utils/txscript/sign_test.go index a0bcfdf04..069a68584 100644 --- a/domain/consensus/utils/txscript/sign_test.go +++ b/domain/consensus/utils/txscript/sign_test.go @@ -12,8 +12,8 @@ import ( "github.com/c4ei/yunseokyeol/domain/consensus/utils/consensushashing" + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/domain/consensus/model/externalapi" - "github.com/c4exnet/go-secp256k1" "github.com/pkg/errors" "github.com/c4ei/yunseokyeol/domain/dagconfig" diff --git a/domain/dagconfig/genesis.go b/domain/dagconfig/genesis.go index f5b618dc3..412cacc49 100644 --- a/domain/dagconfig/genesis.go +++ b/domain/dagconfig/genesis.go @@ -7,11 +7,11 @@ package dagconfig import ( "math/big" + "github.com/c4ei/go-muhash" "github.com/c4ei/yunseokyeol/domain/consensus/model/externalapi" "github.com/c4ei/yunseokyeol/domain/consensus/utils/blockheader" "github.com/c4ei/yunseokyeol/domain/consensus/utils/subnetworks" "github.com/c4ei/yunseokyeol/domain/consensus/utils/transactionhelper" - "github.com/c4exnet/go-muhash" ) var genesisTxOuts = []*externalapi.DomainTransactionOutput{} diff --git a/domain/dagconfig/params.go b/domain/dagconfig/params.go index 5ffde084d..634d5067b 100644 --- a/domain/dagconfig/params.go +++ b/domain/dagconfig/params.go @@ -214,8 +214,8 @@ type Params struct { // CoinbasePayloadScriptPublicKeyMaxLength는 코인베이스 페이로드에서 허용되는 최대 스크립트 공개 키입니다. CoinbasePayloadScriptPublicKeyMaxLength uint8 - // PruningProofM is the 'm' constant in the pruning proof. For more details see: https://github.com/c4exnet/research/issues/3 - // PruningProofM은 가지치기 증명의 'm' 상수입니다. 자세한 내용은 https://github.com/c4exnet/research/issues/3을 참조하세요. + // PruningProofM is the 'm' constant in the pruning proof. For more details see: https://github.com/c4ei/research/issues/3 + // PruningProofM은 가지치기 증명의 'm' 상수입니다. 자세한 내용은 https://github.com/c4ei/research/issues/3을 참조하세요. PruningProofM uint64 // DeflationaryPhaseDaaScore is the DAA score after which the monetary policy switches diff --git a/go.mod b/go.mod index adc7ba8c4..d6a2cfb90 100644 --- a/go.mod +++ b/go.mod @@ -11,8 +11,8 @@ require ( github.com/golang/protobuf v1.5.2 github.com/jessevdk/go-flags v1.4.0 github.com/jrick/logrotate v1.0.0 - github.com/c4exnet/go-muhash v0.0.4 - github.com/c4exnet/go-secp256k1 v0.0.7 + github.com/c4ei/go-muhash v0.0.4 + github.com/c4ei/go-secp256k1 v0.0.7 github.com/pkg/errors v0.9.1 github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d github.com/tyler-smith/go-bip39 v1.1.0 diff --git a/go.sum b/go.sum index 597007bb8..b70bffbac 100644 --- a/go.sum +++ b/go.sum @@ -59,10 +59,10 @@ github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGAR github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jrick/logrotate v1.0.0 h1:lQ1bL/n9mBNeIXoTUoYRlK4dHuNJVofX9oWqBtPnSzI= github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= -github.com/c4exnet/go-muhash v0.0.4 h1:CQrm1RTJpQy+h4ZFjj9qq42K5fmA5QTGifzb47p4qWk= -github.com/c4exnet/go-muhash v0.0.4/go.mod h1:10bPW5mO1vNHPSejaAh9ZTtLZE16jzEvgaP7f3Q5s/8= -github.com/c4exnet/go-secp256k1 v0.0.7 h1:WHnrwopKB6ZeHSbdAwwxNhTqflm56XT1mM6LF4/OvOs= -github.com/c4exnet/go-secp256k1 v0.0.7/go.mod h1:cFbxhxKkxqHX5eIwUGKARkph19PehipDPJejWB+H0jM= +github.com/c4ei/go-muhash v0.0.4 h1:CQrm1RTJpQy+h4ZFjj9qq42K5fmA5QTGifzb47p4qWk= +github.com/c4ei/go-muhash v0.0.4/go.mod h1:10bPW5mO1vNHPSejaAh9ZTtLZE16jzEvgaP7f3Q5s/8= +github.com/c4ei/go-secp256k1 v0.0.7 h1:WHnrwopKB6ZeHSbdAwwxNhTqflm56XT1mM6LF4/OvOs= +github.com/c4ei/go-secp256k1 v0.0.7/go.mod h1:cFbxhxKkxqHX5eIwUGKARkph19PehipDPJejWB+H0jM= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= diff --git a/infrastructure/network/netadapter/server/grpcserver/protowire/README.md b/infrastructure/network/netadapter/server/grpcserver/protowire/README.md index 4660b6ec7..502552393 100644 --- a/infrastructure/network/netadapter/server/grpcserver/protowire/README.md +++ b/infrastructure/network/netadapter/server/grpcserver/protowire/README.md @@ -11,5 +11,5 @@ Documentation ------------- To generate `rpc.md`: -1. `go install -u github.com/c4exnet/protoc-gen-doc/cmd/protoc-gen-doc` +1. `go install -u github.com/c4ei/protoc-gen-doc/cmd/protoc-gen-doc` 2. In the protowire directory: `protoc --doc_out=. --doc_opt=markdown,rpc.md rpc.proto` diff --git a/stability-tests/many-tips/main.go b/stability-tests/many-tips/main.go index 1f9cb7fb2..14074660a 100644 --- a/stability-tests/many-tips/main.go +++ b/stability-tests/many-tips/main.go @@ -11,10 +11,10 @@ import ( "syscall" "time" + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/app/appmessage" "github.com/c4ei/yunseokyeol/domain/consensus/utils/mining" "github.com/c4ei/yunseokyeol/util" - "github.com/c4exnet/go-secp256k1" "github.com/c4ei/yunseokyeol/stability-tests/common" "github.com/c4ei/yunseokyeol/stability-tests/common/rpc" diff --git a/stability-tests/mempool-limits/transactions.go b/stability-tests/mempool-limits/transactions.go index 4a0964cea..a0c98a4dd 100644 --- a/stability-tests/mempool-limits/transactions.go +++ b/stability-tests/mempool-limits/transactions.go @@ -5,6 +5,7 @@ import ( "strings" "testing" + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/app/appmessage" "github.com/c4ei/yunseokyeol/domain/consensus/model/externalapi" "github.com/c4ei/yunseokyeol/domain/consensus/utils/consensushashing" @@ -17,7 +18,6 @@ import ( "github.com/c4ei/yunseokyeol/infrastructure/network/rpcclient" "github.com/c4ei/yunseokyeol/stability-tests/common/mine" "github.com/c4ei/yunseokyeol/util" - "github.com/c4exnet/go-secp256k1" ) const ( diff --git a/stability-tests/simple-sync/mineloop.go b/stability-tests/simple-sync/mineloop.go index e06cddf1a..466df6d5e 100644 --- a/stability-tests/simple-sync/mineloop.go +++ b/stability-tests/simple-sync/mineloop.go @@ -3,11 +3,11 @@ package main import ( "time" + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/app/appmessage" "github.com/c4ei/yunseokyeol/stability-tests/common" "github.com/c4ei/yunseokyeol/stability-tests/common/rpc" "github.com/c4ei/yunseokyeol/util" - "github.com/c4exnet/go-secp256k1" "github.com/pkg/errors" ) diff --git a/testing/integration/tx_relay_test.go b/testing/integration/tx_relay_test.go index 766781ae5..ec9a18d55 100644 --- a/testing/integration/tx_relay_test.go +++ b/testing/integration/tx_relay_test.go @@ -10,6 +10,7 @@ import ( "github.com/c4ei/yunseokyeol/domain/consensus/utils/utxo" + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/app/appmessage" "github.com/c4ei/yunseokyeol/domain/consensus/model/externalapi" "github.com/c4ei/yunseokyeol/domain/consensus/utils/consensushashing" @@ -17,7 +18,6 @@ import ( "github.com/c4ei/yunseokyeol/domain/consensus/utils/transactionhelper" "github.com/c4ei/yunseokyeol/domain/consensus/utils/txscript" "github.com/c4ei/yunseokyeol/util" - "github.com/c4exnet/go-secp256k1" ) func TestTxRelay(t *testing.T) { diff --git a/testing/integration/utxo_index_test.go b/testing/integration/utxo_index_test.go index 70079f54a..bb5ec6f27 100644 --- a/testing/integration/utxo_index_test.go +++ b/testing/integration/utxo_index_test.go @@ -6,6 +6,7 @@ import ( "github.com/c4ei/yunseokyeol/domain/consensus/utils/utxo" + "github.com/c4ei/go-secp256k1" "github.com/c4ei/yunseokyeol/app/appmessage" "github.com/c4ei/yunseokyeol/domain/consensus/model/externalapi" "github.com/c4ei/yunseokyeol/domain/consensus/utils/consensushashing" @@ -13,7 +14,6 @@ import ( "github.com/c4ei/yunseokyeol/domain/consensus/utils/transactionid" "github.com/c4ei/yunseokyeol/domain/consensus/utils/txscript" "github.com/c4ei/yunseokyeol/util" - "github.com/c4exnet/go-secp256k1" ) func TestUTXOIndex(t *testing.T) { diff --git a/util/README.md b/util/README.md index b1d38d65c..578ad5e87 100644 --- a/util/README.md +++ b/util/README.md @@ -2,6 +2,6 @@ util ======= [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](https://choosealicense.com/licenses/isc/) -[![GoDoc](http://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/c4exnet/util) +[![GoDoc](http://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/c4ei/util) Package util provides c4ex-specific convenience functions and types.