Completed
Push — master ( 4d00a0...e4a998 )
by thomas
98:35 queued 58:37
created

MainnetSettings   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A setup() 0 7 1
1
<?php
2
3
namespace BitWasp\Bitcoin\Networking\Settings;
4
5
use BitWasp\Bitcoin\Networking\DnsSeeds\MainNetDnsSeeds;
6
7
class MainnetSettings extends NetworkSettings
8
{
9
    protected function setup()
10
    {
11
        $this
12
            ->setDefaultP2PPort(8333)
13
            ->setDnsSeeds(new MainNetDnsSeeds())
14
        ;
15
    }
16
}
17