File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 56
56
``` newest ``` 대신에 블록 번호(###)를 option으로 명시하면 명시한 번호의 블록을 로컬 파일 ``` mychannel_###.block ```
57
57
로 저장한다.
58
58
59
- ### ``` getinfo ``` option 예제
59
+ ##### ``` getinfo ``` option 예제
60
60
채널에 대한 정보를 취득할 때 사용한다. 채널의 블록체인에 가장 최근에 추가된 블록에 대한 암호화된 해시값을 확인할 수 있다.
61
61
``` shell
62
62
~ $peer channel getinfo -c mychannel
63
63
```
64
64
65
- ### ``` update ``` option 예제
65
+ ##### ``` update ``` option 예제
66
66
``` ./updatechannel.tx ``` 파일에 정의된 configuration transaction을 사용하여 채널의 구성을 업데이트한다. 다음 명령어는
67
67
``` orderer.example.com:7050 ``` 를 통해 ``` ./updaechannel.tx ``` 파일에 정의된 configuation transaction을 사용하여
68
68
``` mychanel ``` 을 구성을 업데이트한다. 채널 구성의 복사본을 채널 내의 모든 피어에 업데이트하기 위해서
@@ -72,14 +72,14 @@ configuration transaction을 orderer에 전송한다.
72
72
~ $peer channel update -c mychannel -f ./updatechannel.tx -o orderer.example.com:7050
73
73
```
74
74
75
- ### ``` list ``` option 예제
75
+ ##### ``` list ``` option 예제
76
76
피어가 조인한 채널들의 목록을 얻을 수 있다.
77
77
78
78
``` shell
79
79
~ $peer channel list
80
80
```
81
81
82
- ### ``` signconfigtx ``` option 예제
82
+ ##### ``` signconfigtx ``` option 예제
83
83
``` ./updatechannel.tx ``` 파일 내에 정의된 ``` channel update ``` 트랜잭션을 사인한다. ``` ./updatechannel.tx ``` 파일의
84
84
크기는 configuration transaction에 성공적으로 사인 후에 변경된다.
85
85
You can’t perform that action at this time.
0 commit comments