mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 06:25:55 +00:00
ing
This commit is contained in:
parent
afb7bbe095
commit
cc94ca9b96
@ -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
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -3,7 +3,7 @@ package bip32
|
||||
import (
|
||||
"encoding/binary"
|
||||
|
||||
"github.com/c4exnet/go-secp256k1"
|
||||
"github.com/c4ei/go-secp256k1"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
|
||||
@ -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`
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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{}
|
||||
|
||||
@ -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
|
||||
|
||||
4
go.mod
4
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
|
||||
|
||||
8
go.sum
8
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=
|
||||
|
||||
@ -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`
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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 (
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -2,6 +2,6 @@ util
|
||||
=======
|
||||
|
||||
[](https://choosealicense.com/licenses/isc/)
|
||||
[](http://godoc.org/github.com/c4exnet/util)
|
||||
[](http://godoc.org/github.com/c4ei/util)
|
||||
|
||||
Package util provides c4ex-specific convenience functions and types.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user