Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zjg/test get account log1017 #8

Draft
wants to merge 106 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
7376f0c
add log
fatcat22 Oct 9, 2024
8eda344
update
zjg555543 Oct 11, 2024
45285b7
update
zjg555543 Oct 11, 2024
b97364e
update
zjg555543 Oct 11, 2024
71573f1
update
zjg555543 Oct 12, 2024
c6dc185
add log2
fatcat22 Oct 12, 2024
48f59fd
Merge branch 'zjg/testGetAccount' into yz/debug
fatcat22 Oct 12, 2024
0714326
Merge pull request #1 from zjg555543/yz/debug
zjg555543 Oct 12, 2024
15e0933
fix build
zjg555543 Oct 12, 2024
956e260
add bin perf tools
zjg555543 Oct 12, 2024
0741fcd
update
zjg555543 Oct 12, 2024
fc4357c
update
zjg555543 Oct 12, 2024
a7ed314
update
zjg555543 Oct 12, 2024
ef48bad
update
zjg555543 Oct 14, 2024
d4f60cc
update
zjg555543 Oct 14, 2024
074783f
update
zjg555543 Oct 14, 2024
6c4cd60
update
zjg555543 Oct 14, 2024
1e32df3
update
zjg555543 Oct 14, 2024
29cf27c
update
zjg555543 Oct 14, 2024
ac8ce0a
update
zjg555543 Oct 14, 2024
535620c
update
zjg555543 Oct 14, 2024
021926d
update
zjg555543 Oct 14, 2024
6c32828
update
zjg555543 Oct 14, 2024
c78bbea
update
zjg555543 Oct 14, 2024
9821e86
update
zjg555543 Oct 14, 2024
2739879
update
zjg555543 Oct 14, 2024
a13adc9
update
zjg555543 Oct 14, 2024
8ca7ee2
add log for celldb message queue
Oct 14, 2024
42112b5
update
zjg555543 Oct 14, 2024
72be9f1
update
zjg555543 Oct 14, 2024
1ed485f
update
zjg555543 Oct 14, 2024
f08a1e1
update
zjg555543 Oct 14, 2024
c3dbb0d
update
zjg555543 Oct 14, 2024
d852e43
update
zjg555543 Oct 15, 2024
4ef6b93
update
zjg555543 Oct 15, 2024
c2c6a5e
update
zjg555543 Oct 15, 2024
e971692
test1
Oct 15, 2024
1309950
update
zjg555543 Oct 15, 2024
e365ed2
update
zjg555543 Oct 15, 2024
16a5ef4
update
zjg555543 Oct 15, 2024
9c66887
check worker id
Oct 15, 2024
f7e1142
check schedule
Oct 15, 2024
48ba8b5
update
zjg555543 Oct 15, 2024
76bbee0
update
zjg555543 Oct 15, 2024
3ac9aea
update
zjg555543 Oct 15, 2024
eee049f
update
zjg555543 Oct 15, 2024
cc6526d
update
zjg555543 Oct 15, 2024
20fbfae
update
zjg555543 Oct 15, 2024
cd5a871
update
zjg555543 Oct 15, 2024
dedf429
update
zjg555543 Oct 15, 2024
ea20f4d
update
zjg555543 Oct 15, 2024
090e2e3
update
zjg555543 Oct 15, 2024
466be4e
update
zjg555543 Oct 15, 2024
351098e
update
zjg555543 Oct 15, 2024
8f2c564
update
zjg555543 Oct 15, 2024
c12eea5
update
zjg555543 Oct 15, 2024
b2269f2
update
zjg555543 Oct 15, 2024
51bbcee
update
zjg555543 Oct 15, 2024
e332c4c
update
zjg555543 Oct 16, 2024
8093638
update
zjg555543 Oct 16, 2024
45a9f62
check actor and thread idle
Oct 16, 2024
8938df1
update
zjg555543 Oct 16, 2024
e30a04e
change thread num to 4
Oct 16, 2024
bf5b9d4
recover thread
zjg555543 Oct 16, 2024
b722ad8
Merge branch 'zjg/testGetAccount' into zjg/testGetAccountLog1014
zjg555543 Oct 16, 2024
923c31d
uypdate
zjg555543 Oct 17, 2024
bfdb2fd
update
zjg555543 Oct 17, 2024
d232974
update
zjg555543 Oct 17, 2024
86e2756
update
zjg555543 Oct 17, 2024
029f4ae
more log but exception
Oct 17, 2024
1ed08cb
more info about local queue
Oct 17, 2024
fc4bd5d
update
zjg555543 Oct 17, 2024
b59a03f
update
zjg555543 Oct 17, 2024
6c32f1b
updatge
zjg555543 Oct 17, 2024
c409dca
update
zjg555543 Oct 17, 2024
7afe827
update
zjg555543 Oct 17, 2024
540243c
update
zjg555543 Oct 17, 2024
b3c2ecd
update
zjg555543 Oct 17, 2024
c907092
update
zjg555543 Oct 17, 2024
bcacb68
update
zjg555543 Oct 17, 2024
adfccc0
update
zjg555543 Oct 17, 2024
e14737b
more log for load cell async
Oct 18, 2024
ec42edd
async 2
Oct 18, 2024
e92f64d
Revert "more log for load cell async"
Oct 18, 2024
db8a425
async 3
Oct 18, 2024
f0c4d84
async log
Oct 18, 2024
04aaadc
update
zjg555543 Oct 18, 2024
365f3c6
update
zjg555543 Oct 18, 2024
410661f
update
zjg555543 Oct 18, 2024
9fe16a0
update
zjg555543 Oct 18, 2024
016ce4a
update
zjg555543 Oct 19, 2024
22bd19f
update
zjg555543 Oct 19, 2024
c9a55b4
update
zjg555543 Oct 19, 2024
b1ecd51
update
zjg555543 Oct 19, 2024
8a74db3
update
zjg555543 Oct 19, 2024
1b1f6bd
Merge branch 'zjg/testGetAccount' into zjg/testGetAccountLog1017
zjg555543 Oct 21, 2024
7e81128
change log from info to debug
Oct 21, 2024
132e27e
Merge branch 'zjg/testGetAccount' into zjg/testGetAccountLog1017
zjg555543 Oct 21, 2024
9b1165f
root db
zjg555543 Oct 22, 2024
e64fba9
update
zjg555543 Oct 22, 2024
81a9163
update
zjg555543 Oct 22, 2024
8c39d20
update
zjg555543 Oct 22, 2024
32d6314
update
zjg555543 Oct 22, 2024
6e5e607
update
zjg555543 Oct 22, 2024
a509286
update
zjg555543 Oct 22, 2024
c73ff17
update
zjg555543 Oct 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adnl/adnl-ext-connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ td::Status AdnlExtConnection::receive_packet(td::BufferSlice data) {
if (processed) {
return td::Status::OK();
}

LOG(INFO) << "receive_packet, 1";
return process_packet(std::move(data));
}

Expand Down
2 changes: 2 additions & 0 deletions adnl/adnl-ext-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ td::Status AdnlInboundConnection::process_packet(td::BufferSlice data) {
td::actor::send_closure(SelfId, &AdnlInboundConnection::send, serialize_tl_object(B, true));
}
});

LOG(INFO) << "process_packet, 1" << ", f->query_ len:" << f->query_.size();
td::actor::send_closure(peer_table_, &AdnlPeerTable::deliver_query, remote_id_, local_id_, std::move(f->query_),
std::move(P));
return td::Status::OK();
Expand Down
3 changes: 3 additions & 0 deletions adnl/adnl-local-id.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,11 @@ void AdnlLocalId::deliver(AdnlNodeIdShort src, td::BufferSlice data) {
void AdnlLocalId::deliver_query(AdnlNodeIdShort src, td::BufferSlice data, td::Promise<td::BufferSlice> promise) {
auto s = std::move(data);
for (auto &cb : cb_) {
int a = 0;
auto f = cb.first;
if (f.length() <= s.length() && s.as_slice().substr(0, f.length()) == f) {
LOG(INFO) << "process_query, 2 over" << ", a" << a;
a = a +1;
cb.second->receive_query(src, short_id_, std::move(s), std::move(promise));
return;
}
Expand Down
1 change: 1 addition & 0 deletions adnl/adnl-peer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ void AdnlPeerPairImpl::process_message(const adnlmessage::AdnlMessageQuery &mess
}
}
});
LOG(INFO) << "process_message, 1";
td::actor::send_closure(local_actor_, &AdnlLocalId::deliver_query, peer_id_short_, message.data(), std::move(P));
}

Expand Down
1 change: 1 addition & 0 deletions build-docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker build -t ton -f ./Dockerfile .
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker build -t ton -f ./Dockerfile .
2 changes: 1 addition & 1 deletion crypto/block/check-proof.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ td::Status BlockProofLink::validate(td::uint32* save_utime) const {
return td::Status::Error("BlockProofLink contains a state proof for "s + from.to_str() +
" with incorrect root hash");
}
TRY_RESULT(config, block::ConfigInfo::extract_config(vstate_root, block::ConfigInfo::needPrevBlocks));
TRY_RESULT(config, block::ConfigInfo::extract_config(vstate_root, block::ConfigInfo::needPrevBlocks, 0));
if (!config->check_old_mc_block_id(to, true)) {
return td::Status::Error("cannot check that "s + to.to_str() + " is indeed a previous masterchain block of " +
from.to_str() + " using the presented Merkle proof of masterchain state");
Expand Down
2 changes: 1 addition & 1 deletion crypto/block/create-state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ bool store_config_params(vm::CellBuilder& cb) {
// stores hash of initial masterchain validator set computed from configuration parameter 34
bool store_validator_list_hash(vm::CellBuilder& cb) {
Ref<vm::Cell> vset_cell = config_dict.lookup_ref(td::BitArray<32>{34});
auto res = block::Config::unpack_validator_set(std::move(vset_cell));
auto res = block::Config::unpack_validator_set(std::move(vset_cell), 0);
if (res.is_error()) {
LOG(ERROR) << "cannot unpack current validator set: " << res.move_as_error().to_string();
return false;
Expand Down
2 changes: 1 addition & 1 deletion crypto/block/dump-block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ td::Status test_vset() {
return td::Status::Error("no config parameter 34");
}
std::cerr << "config param #34 obtained\n";
TRY_RESULT(cur_validators, block::Config::unpack_validator_set(std::move(cv_root)));
TRY_RESULT(cur_validators, block::Config::unpack_validator_set(std::move(cv_root), 0));
// auto vconf = config->get_catchain_validators_config();
std::cerr << "validator set unpacked\n";
std::cerr << "unpacking ShardHashes\n";
Expand Down
Loading
Loading